This commit is contained in:
2026-03-27 08:54:47 +08:00
parent 2920abbe17
commit 592be4e43e
5 changed files with 74 additions and 8 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ ALLOWED_HOSTS = ["*"]
CORS_ALLOWED_ORIGINS = [
"http://localhost:3000", # 例如:您的React/Vue开发服务器
"http://127.0.0.1:3000",
"*"
"http://*",
"https://*"
]
# CORS设置