summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-19 03:58:04 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-19 03:58:04 +0300
commitaff34d50b7dc1315a1d867266c4608ebea9685ca (patch)
tree493feaeaf5f1a49815a12332e93d998de1516af7 /bin
parent16bbec67c4c19cfef2a47be210843771f9379d6c (diff)
web_kbn: redirect from / to /main.cgi
Diffstat (limited to 'bin')
-rwxr-xr-xbin/web_kbn.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/web_kbn.py b/bin/web_kbn.py
index 21ae2ef..96b6461 100755
--- a/bin/web_kbn.py
+++ b/bin/web_kbn.py
@@ -245,6 +245,11 @@ async def render(req: web.Request,
return response
+@routes.get('/')
+async def index0(req: web.Request):
+ raise web.HTTPFound('/main.cgi')
+
+
@routes.get('/main.cgi')
async def index(req: web.Request):
ctx = {}