update for log files viewer

This commit is contained in:
2026-02-14 11:25:08 +01:00
parent e5d5d74523
commit 8ddeb0a1f8
18 changed files with 43 additions and 12 deletions
+2 -1
View File
@@ -292,6 +292,7 @@ def admin_logs(date=None):
date = datetime.now().strftime('%d')
today = datetime.now().strftime('%Y-%m') # ← Hier definieren!
current_month = datetime.now().strftime('%Y-%m')
log_dir = os.path.join(LOG_DIR, today)
@@ -322,7 +323,7 @@ def admin_logs(date=None):
logs=log_content,
date=date,
dates=dates,
today=today) # ← Hier mit übergeben!
today=current_month)
@app.route('/configs/<path:filename>')