From ce184ee1845291643121739cdadbc6fb5e8f0f09 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 21 Apr 2023 10:42:37 +0800 Subject: [PATCH] Update main.py --- appmanage/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmanage/main.py b/appmanage/main.py index 4f3a92fd..3e541168 100644 --- a/appmanage/main.py +++ b/appmanage/main.py @@ -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 = [