Update server.py
Browse files
server.py
CHANGED
@@ -2,9 +2,9 @@ import os
|
|
2 |
import uvicorn
|
3 |
from fastapi import FastAPI
|
4 |
|
5 |
-
app = FastAPI()
|
6 |
|
7 |
-
@app.get("/")
|
8 |
def hello():
|
9 |
return {"message": "running"}
|
10 |
|
|
|
2 |
import uvicorn
|
3 |
from fastapi import FastAPI
|
4 |
|
5 |
+
app = FastAPI(docs_url=None, redoc_url="/")
|
6 |
|
7 |
+
@app.get("/status")
|
8 |
def hello():
|
9 |
return {"message": "running"}
|
10 |
|