Update main.py

This commit is contained in:
qiaofeng1227 2023-04-21 10:42:37 +08:00 committed by GitHub
parent 485b53a734
commit ce184ee184
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("Starting server")
app = FastAPI(docs_url=/docs, redoc_url=/redoc,openapi_url="/openapi.json")
app = FastAPI(docs_url="/docs", redoc_url="/redoc",openapi_url="/openapi.json")
def get_app():
origins = [