Jaosub commited on
Commit ·
c437ec9
1
Parent(s): ec9da7f
Move welcome API route to /api to allow static files serving at root /
Browse files- backend/main.py +1 -1
backend/main.py
CHANGED
|
@@ -57,7 +57,7 @@ PRESETS = [
|
|
| 57 |
}
|
| 58 |
]
|
| 59 |
|
| 60 |
-
@app.get("/")
|
| 61 |
def read_root():
|
| 62 |
return {
|
| 63 |
"status": "online",
|
|
|
|
| 57 |
}
|
| 58 |
]
|
| 59 |
|
| 60 |
+
@app.get("/api")
|
| 61 |
def read_root():
|
| 62 |
return {
|
| 63 |
"status": "online",
|