🐛 Deactivated api-docs untill https://github.com/collerek/ormar/issues/699 is fixed
This commit is contained in:
@@ -13,7 +13,8 @@ from classquiz.helpers import meilisearch_init
|
|||||||
settings = settings()
|
settings = settings()
|
||||||
if settings.sentry_dsn:
|
if settings.sentry_dsn:
|
||||||
sentry_sdk.init(dsn=settings.sentry_dsn, integrations=[RedisIntegration()])
|
sentry_sdk.init(dsn=settings.sentry_dsn, integrations=[RedisIntegration()])
|
||||||
app = FastAPI(redoc_url="", docs_url="/api/docs")
|
# app = FastAPI(redoc_url="", docs_url="/api/docs")
|
||||||
|
app = FastAPI(redoc_url="", docs_url="")
|
||||||
app.state.database = database
|
app.state.database = database
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user