web_kbn: redirect from / to /main.cgi
This commit is contained in:
parent
16bbec67c4
commit
aff34d50b7
@ -245,6 +245,11 @@ async def render(req: web.Request,
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
@routes.get('/')
|
||||||
|
async def index0(req: web.Request):
|
||||||
|
raise web.HTTPFound('/main.cgi')
|
||||||
|
|
||||||
|
|
||||||
@routes.get('/main.cgi')
|
@routes.get('/main.cgi')
|
||||||
async def index(req: web.Request):
|
async def index(req: web.Request):
|
||||||
ctx = {}
|
ctx = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user