Added landing page for the root

This commit is contained in:
2026-01-29 13:27:24 +08:00
parent a5300eb379
commit fe23f8424c
2 changed files with 194 additions and 4 deletions

View File

@@ -62,8 +62,5 @@ async def admin_panel():
@app.get("/")
async def root():
response = {"message": "Welcome to Storyline AI Gateway"}
if settings.ENVIRONMENT == "development":
response["docs"] = "/docs"
return response
return FileResponse("app/static/index.html")