This commit is contained in:
admin
2026-01-15 10:56:05 +09:00
parent c753e89f49
commit 6c5e8593fb
6 changed files with 314 additions and 169 deletions

View File

@@ -16,8 +16,8 @@ app = FastAPI(
app.add_middleware(
CORSMiddleware,
allow_origins=["*"], # 本地开发先用 *
allow_credentials=True,
allow_origins=["*"],
allow_credentials=False,
allow_methods=["*"],
allow_headers=["*"],
)