feat: add dedicated account settings page

This commit is contained in:
2026-06-28 00:36:05 +02:00
parent 715cb448b7
commit a2c5ca7f2b
6 changed files with 677 additions and 9 deletions
+4
View File
@@ -1777,6 +1777,8 @@ class TelegramScraperRequestHandler(BaseHTTPRequestHandler):
if path == "/":
return self.serve_file(WEBUI_DIR / "index.html", "text/html; charset=utf-8")
if path == "/settings":
return self.serve_file(WEBUI_DIR / "settings.html", "text/html; charset=utf-8")
if path == "/viewer":
return self.serve_file(WEBUI_DIR / "viewer.html", "text/html; charset=utf-8")
if path in {"/swagger", "/swigger", "/docs"}:
@@ -2007,6 +2009,8 @@ class TelegramScraperRequestHandler(BaseHTTPRequestHandler):
if path == "/":
return self.serve_file(WEBUI_DIR / "index.html", "text/html; charset=utf-8", head_only=True)
if path == "/settings":
return self.serve_file(WEBUI_DIR / "settings.html", "text/html; charset=utf-8", head_only=True)
if path == "/viewer":
return self.serve_file(WEBUI_DIR / "viewer.html", "text/html; charset=utf-8", head_only=True)
if path in {"/swagger", "/swigger", "/docs"}: