Celeskry commited on
Commit
ae5532c
verified
1 Parent(s): f519751

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -110,7 +110,11 @@ async def home():
110
  if os.path.exists(index_path):
111
  return FileResponse(index_path)
112
 
113
- return {"error": f"Kh么ng t矛m th岷 file t岷: {index_path}"}
 
 
 
 
114
 
115
  @app.get("/api/v1/system/status")
116
  def system_status():
 
110
  if os.path.exists(index_path):
111
  return FileResponse(index_path)
112
 
113
+ return {"error": f"File not found at: {index_path}"}
114
+
115
+ @app.get("/docs/api", include_in_schema=False)
116
+ async def home_alias():
117
+ return await home()
118
 
119
  @app.get("/api/v1/system/status")
120
  def system_status():