dev
This commit is contained in:
@@ -14,7 +14,7 @@ def register_cors(app: FastAPI):
|
|||||||
# allow_origins = ["http://127.0.0.1:25252"],
|
# 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|.*.skycity.top|.*.dnftools.com):?.*', # 改成用正则就行了
|
||||||
# 改成用正则就行了
|
# 改成用正则就行了
|
||||||
allow_origin_regex='https?://(127.0.0.1|localhost|.*.dnftools.com|.*.seicing.com):?.*',
|
allow_origin_regex='https?://(127.0.0.1|localhost|.*.dnftools.com|.*.seicing.com|seicing.com):?.*',
|
||||||
allow_credentials=True,
|
allow_credentials=True,
|
||||||
allow_methods=['*'],
|
allow_methods=['*'],
|
||||||
allow_headers=['*'],
|
allow_headers=['*'],
|
||||||
|
|||||||
+1
-1
Submodule backend/openapi updated: 00398889f2...1217d67b22
+1
-1
Submodule images updated: e9a788cd5c...c4aced0d59
Reference in New Issue
Block a user