diff options
-rwxr-xr-x | bin/web_kbn.py | 5 |
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 = {} |