We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36cb9b5 commit b53d3e4Copy full SHA for b53d3e4
backend/main.py
@@ -1,3 +1,4 @@
1
+import uvicorn
2
from fastapi import FastAPI
3
from contextlib import asynccontextmanager
4
from fastapi.middleware.cors import CORSMiddleware
@@ -30,7 +31,7 @@ async def lifespan(app: FastAPI):
30
31
allow_headers=["*"],
32
)
33
-app.include_router(api_router, prefix="/api/")
34
+app.include_router(api_router, prefix="/api")
35
36
if __name__ == "__main__":
37
uvicorn.run(app="main:app", reload=True)
0 commit comments