Spaces:
Sleeping
Sleeping
Dhruva P Gowda commited on
Commit ·
0ab9a8d
1
Parent(s): 196bcb1
Fix API root response to use ShockMap name
Browse files- backend/app/main.py +1 -1
backend/app/main.py
CHANGED
|
@@ -209,7 +209,7 @@ async def global_exception_handler(request: Request, exc: Exception):
|
|
| 209 |
@app.get("/")
|
| 210 |
async def root():
|
| 211 |
"""Root endpoint info."""
|
| 212 |
-
return {"name": "
|
| 213 |
|
| 214 |
@app.get("/healthz")
|
| 215 |
async def healthz():
|
|
|
|
| 209 |
@app.get("/")
|
| 210 |
async def root():
|
| 211 |
"""Root endpoint info."""
|
| 212 |
+
return {"name": "ShockMap API", "docs": "/docs"}
|
| 213 |
|
| 214 |
@app.get("/healthz")
|
| 215 |
async def healthz():
|