mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 17:40:35 +08:00
Update main.py
This commit is contained in:
parent
afaeb039f7
commit
86ea26362f
@ -11,7 +11,7 @@ from fastapi.openapi.docs import (
|
||||
)
|
||||
|
||||
myLogger.info_logger("Start server...")
|
||||
app = FastAPI(docs_url=None, redoc_url=None, openapi_url=None)
|
||||
app = FastAPI(docs_url=None, redoc_url=None, openapi_url="/")
|
||||
|
||||
def get_app():
|
||||
origins = [
|
||||
|
Loading…
Reference in New Issue
Block a user