Update app.py
Browse files
app.py
CHANGED
|
@@ -122,8 +122,11 @@ async def health_check():
|
|
| 122 |
|
| 123 |
# Simple index route
|
| 124 |
|
| 125 |
-
|
| 126 |
@app.get("/")
|
| 127 |
def index():
|
| 128 |
-
return {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
|
|
|
| 122 |
|
| 123 |
# Simple index route
|
| 124 |
|
|
|
|
| 125 |
@app.get("/")
|
| 126 |
def index():
|
| 127 |
+
return {
|
| 128 |
+
"message": "FastAPI API is up.",
|
| 129 |
+
"try": "/docs to test the API.",
|
| 130 |
+
"status": "OK"
|
| 131 |
+
}
|
| 132 |
|