From 6b74dfa70f867f58cd9f3d4cc526fe90e8cb9751 Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Sun, 16 Aug 2026 16:48:28 +0300 Subject: [PATCH] feat: link Belki calculator from CatWar home --- app/main.py | 2 +- web/index.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index b9b7f41..36267fe 100644 --- a/app/main.py +++ b/app/main.py @@ -39,7 +39,7 @@ class Handler(BaseHTTPRequestHandler): if path in ("/health", "/api/health"): self._json(200, {"status": "ok"}) return - if path in ("/", "/calculator.html"): + if path in ("/", "/belki", "/belki/", "/calculator.html"): self._file(WEB_ROOT / "calculator.html") return if path == "/admin": diff --git a/web/index.html b/web/index.html index 3261ba7..e17ab09 100644 --- a/web/index.html +++ b/web/index.html @@ -67,6 +67,8 @@