feat: add dedicated account settings page
This commit is contained in:
1 parent
715cb448b7
commit
a2c5ca7f2b
6 files changed
+677
-9
No files matched your search
@@ -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"}:
|
||||
|
||||
Reference in new issue
Block a user