From e3780b282cf0a48b3df3c4cf24dccbd651e55b9f Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 22 Mar 2023 10:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index fa767cf..7c7c833 100644 --- a/main.py +++ b/main.py @@ -10,7 +10,9 @@ init_database() app = FastAPI( title="日报小程序", description="", - version="v1.0.0" + version="v1.0.0", + openapi_url="/daily/openapi.json", + docs_url="/daily/docs" ) if not os.path.exists('static_data'): os.mkdir('static_data')