add /api prefix to all routers
This commit is contained in:
1 parent
91c1e1a621
commit
505355769b
1 file changed
+3
-3
+3
-3
@@ -4,6 +4,6 @@ from app.routers import projects, experiences, skills
|
|||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
app.include_router(projects.router)
|
app.include_router(projects.router, prefix="/api")
|
||||||
app.include_router(experiences.router)
|
app.include_router(experiences.router, prefix="/api")
|
||||||
app.include_router(skills.router)
|
app.include_router(skills.router, prefix="/api")
|
||||||
Reference in new issue
Block a user