diff --git a/conf/__init__.py b/conf/__init__.py index 855b69c..ee4b9d3 100644 --- a/conf/__init__.py +++ b/conf/__init__.py @@ -10,11 +10,11 @@ if UVICORN_ROOT_PATH and len(UVICORN_ROOT_PATH) > 0 and UVICORN_ROOT_PATH != '/' else: app = FastAPI() -@app.get("/") +@app.get("/example") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): - return {"item_id": item_id, "q": q} \ No newline at end of file + return {"item_id": item_id, "q": q}