Update main.py

This commit is contained in:
qiaofeng1227 2023-04-21 11:00:32 +08:00 committed by GitHub
parent 43c3bd5d8c
commit b00be35078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ from fastapi.openapi.docs import (
get_swagger_ui_oauth2_redirect_html,
)
myLogger.info_logger("Starting server")
app = FastAPI()
myLogger.info_logger("Start appmanage server...")
app = FastAPI(docs_url=None, redoc_url=None)
def get_app():
origins = [