From 11fc1723f09c90c4fce1849b3fba25d7a3fcf570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Sun, 15 Jun 2025 21:52:25 +0800 Subject: [PATCH] dev --- backend/api/core/Middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/core/Middleware.py b/backend/api/core/Middleware.py index f3440ceb..9e55f9e6 100644 --- a/backend/api/core/Middleware.py +++ b/backend/api/core/Middleware.py @@ -14,7 +14,7 @@ def register_cors(app: FastAPI): # allow_origins = ["http://127.0.0.1:25252"], # allow_origin_regex='https?://(127.0.0.1|localhost|.*.skycity.top|.*.dnftools.com):?.*', # 改成用正则就行了 # 改成用正则就行了 - allow_origin_regex='https?://(127.0.0.1|localhost|.*.dnftools.com|.*.dcalc.cn):?.*', + allow_origin_regex='https?://(127.0.0.1|localhost|.*.dnftools.com|.*.dcalc.cn|.*.seicing.com):?.*', allow_credentials=True, allow_methods=['*'], allow_headers=['*'],