fix: Remove double prefix in router registration
Deploy Development / deploy (push) Successful in 41s
Deploy Development / deploy (push) Successful in 41s
This commit is contained in:
1 parent
da634d813c
commit
9feead99ac
1 file changed
+2
-2
+2
-2
@@ -72,8 +72,8 @@ def read_root():
|
|||||||
# Register routers
|
# Register routers
|
||||||
from routers import auth, profiles
|
from routers import auth, profiles
|
||||||
|
|
||||||
app.include_router(auth.router, prefix="/api")
|
app.include_router(auth.router)
|
||||||
app.include_router(profiles.router, prefix="/api")
|
app.include_router(profiles.router)
|
||||||
|
|
||||||
# TODO: Add more routers as they are created
|
# TODO: Add more routers as they are created
|
||||||
# from routers import clubs, groups, skills, methods, exercises
|
# from routers import clubs, groups, skills, methods, exercises
|
||||||
|
|||||||
Reference in new issue
Block a user