randydev commited on
Commit
1859e58
·
verified ·
1 Parent(s): 08b6074

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
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