Spaces:
Sleeping
Sleeping
Update src/main.py
Browse files- src/main.py +2 -0
src/main.py
CHANGED
|
@@ -9,6 +9,8 @@ app = FastAPI(
|
|
| 9 |
description="Task management API with authentication",
|
| 10 |
version="1.0.0"
|
| 11 |
)
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Include routers
|
| 14 |
app.include_router(auth.router)
|
|
|
|
| 9 |
description="Task management API with authentication",
|
| 10 |
version="1.0.0"
|
| 11 |
)
|
| 12 |
+
app.router.redirect_slashes = False
|
| 13 |
+
|
| 14 |
|
| 15 |
# Include routers
|
| 16 |
app.include_router(auth.router)
|