From 36582030c21207b4ed4d6d4cbd4b5dd362841025 Mon Sep 17 00:00:00 2001 From: Christian Krakau-Louis Date: Fri, 11 Apr 2025 15:42:55 +0000 Subject: [PATCH] feat: Explicitly include the files router in the main application --- app/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main.py b/app/main.py index b62eec76..565037cb 100644 --- a/app/main.py +++ b/app/main.py @@ -22,6 +22,9 @@ from app.views import router as frontend_router from app.api import router as api_router from app.auth import router as auth_router +# Explicitly include the files router +from app.views.files import router as files_router + # Load configuration from .env for the session key config = Config(".env") SESSION_SECRET = config( @@ -115,6 +118,7 @@ def test_500(): # Include the routers app.include_router(frontend_router) +app.include_router(files_router) # Explicitly include the files router app.include_router(auth_router) app.include_router(api_router, prefix="/api")