Enhance Article editor 2

This commit is contained in:
2026-03-25 16:19:11 -04:00
parent 3ba7eae390
commit bee7146073
4 changed files with 360 additions and 247 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ def create_app(config_name=None):
login_manager.login_message_category = 'info'
# ── Upload directory ──────────────────────────────────────────────────────
upload_dir = app.config.get('UPLOAD_FOLDER', 'app/static/uploads')
upload_dir = app.config['UPLOAD_FOLDER'] # always absolute — set in config.py
os.makedirs(upload_dir, exist_ok=True)
# ── Logging ───────────────────────────────────────────────────────────────