Fix index

This commit is contained in:
long2ice
2021-04-28 23:44:04 +08:00
parent 02668223e9
commit 745c1539b6
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def create_app():
@app.get("/")
async def index():
return RedirectResponse(path="/admin")
return RedirectResponse(url="/admin")
@app.on_event("startup")
async def startup():