setup admin connection
This commit is contained in:
@@ -6,7 +6,7 @@ from app.core.config import settings
|
||||
from app.db.database import Base, engine
|
||||
from app.models import models # noqa: F401 (register models)
|
||||
from app.services.storage import ensure_bucket
|
||||
from app.api.routes import health, collections, admin
|
||||
from app.api.routes import health, collections, admin, auth
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
@@ -35,5 +35,6 @@ app.add_middleware(
|
||||
)
|
||||
|
||||
app.include_router(health.router, tags=["meta"])
|
||||
app.include_router(auth.router, tags=["auth"])
|
||||
app.include_router(collections.router, prefix="/collections", tags=["collections"])
|
||||
app.include_router(admin.router, prefix="/admin", tags=["admin"])
|
||||
|
||||
Reference in New Issue
Block a user