From 657d40ba37f5d0f5c6d209bbf85821877659ece7 Mon Sep 17 00:00:00 2001 From: jshixiong <2645476194@qq.com> Date: Mon, 12 May 2025 18:36:10 +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 79882f3..ba7ae96 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://172.16.100.126", "http://113.246.243.98:9000"]}}, supports_credentials=True) + CORS(app, resources={r"/*": {"origins": ["http://111.8.143.97", "http://113.246.243.98:9000"]}}, supports_credentials=True) app.register_blueprint(route_bp)