We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddec40e + 169e93f commit b1a8370Copy full SHA for b1a8370
src/app/core/setup.py
@@ -185,6 +185,7 @@ def create_application(
185
lifespan = lifespan_factory(settings, create_tables_on_start=create_tables_on_start)
186
187
application = FastAPI(lifespan=lifespan, **kwargs)
188
+ application.include_router(router)
189
190
if isinstance(settings, ClientSideCacheSettings):
191
application.add_middleware(ClientCacheMiddleware, max_age=settings.CLIENT_CACHE_MAX_AGE)
0 commit comments