fixed categorization visualization, fixed date in the dashboard, fixed attack regex detection

This commit is contained in:
Patrick Di Fazio
2026-01-08 19:20:22 +01:00
parent e8a79ef970
commit b61461d028
8 changed files with 154 additions and 58 deletions

View File

@@ -407,7 +407,8 @@ class Handler(BaseHTTPRequestHandler):
self.end_headers()
try:
stats = self.tracker.get_stats()
self.wfile.write(generate_dashboard(stats).encode())
timezone = str(self.config.timezone) if self.config.timezone else 'UTC'
self.wfile.write(generate_dashboard(stats, timezone).encode())
except BrokenPipeError:
pass
except Exception as e: