Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,10 @@ app = FastAPI(title="Eroha Minimal Health Test")
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def home():
|
| 7 |
-
return {
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
@app.get("/check")
|
| 10 |
def check_health():
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def home():
|
| 7 |
+
return {
|
| 8 |
+
"message": "Hello, Eroha — this is a minimal FastAPI test!",
|
| 9 |
+
"check_url": "/check"
|
| 10 |
+
}
|
| 11 |
|
| 12 |
@app.get("/check")
|
| 13 |
def check_health():
|