From 4c880e26653f196b1270c344baff1a14f1d7c148 Mon Sep 17 00:00:00 2001 From: jshixiong <2645476194@qq.com> Date: Tue, 13 May 2025 09:50:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B7=A8=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index ba7ae96..a6cba8d 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -10,7 +10,7 @@ from .route.route import route_bp def create_app(): app = Flask(__name__) # CORS(app, resources={r"/*": {"origins": "*", "methods": "GET,POST,PUT,DELETE,OPTIONS"}}) # 允许所有源访问所有端点 - CORS(app, resources={r"/*": {"origins": ["http://111.8.143.97", "http://113.246.243.98:9000"]}}, supports_credentials=True) + CORS(app, resources={r"/*": {"origins": ["http://111.8.143.97:9000", "http://113.246.243.98:9000"]}}, supports_credentials=True) app.register_blueprint(route_bp)