Update main.py

This commit is contained in:
qiaofeng1227 2023-04-21 11:33:58 +08:00 committed by GitHub
parent da1d8fd545
commit 3754ea3e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ from fastapi.openapi.docs import (
)
myLogger.info_logger("Start server...")
app = FastAPI(docs_url=None, redoc_url=None)
app = FastAPI(docs_url=None, redoc_url=None, openapi_url=None)
def get_app():
origins = [