Added landing page for the root
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user