修改文档配置

This commit is contained in:
Administrator 2023-03-22 10:20:16 +08:00
parent ebef391d35
commit e3780b282c
1 changed files with 3 additions and 1 deletions

View File

@ -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')