fixed categorization visualization, fixed date in the dashboard, fixed attack regex detection
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user