mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-14 10:47:30 +08:00
Fix index
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user