feat: auth & admin
This commit is contained in:
+3
-2
@@ -8,6 +8,7 @@ from fastapi import FastAPI
|
||||
from app.api.errors import register_exception_handlers
|
||||
from app.api.health import router as health_router
|
||||
from app.api.middleware import CorrelationIdMiddleware
|
||||
from app.api.v1 import api_v1_router
|
||||
from app.core.config import get_settings
|
||||
from app.core.logging import configure_logging, get_logger
|
||||
from app.infrastructure.cache import close_redis
|
||||
@@ -41,8 +42,8 @@ def create_app() -> FastAPI:
|
||||
register_exception_handlers(app)
|
||||
|
||||
app.include_router(health_router)
|
||||
# Versioned API routers (auth, library, …) are mounted in later steps:
|
||||
# app.include_router(api_v1_router, prefix="/api/v1")
|
||||
app.include_router(api_v1_router)
|
||||
# Subsonic-compatible layer is mounted in a later step:
|
||||
# app.include_router(subsonic_router, prefix="/rest")
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user