This commit is contained in:
王思川 2022-10-09 14:31:57 +08:00
parent 6e0b5a5631
commit 26bfa19717
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@ from fastapi.middleware.cors import CORSMiddleware
from Indicator import indicator
app = FastAPI()
app = FastAPI(
title="指标仓库接口",
description="指标的增删改查接口",
version="v1.0.0"
)
app.add_middleware(
CORSMiddleware,