From ba1e6ec97b63ca063a60bedd3dfb522352634431 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 25 Feb 2025 13:43:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B7=A8=E5=9F=9F=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GxPrint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GxPrint.py b/GxPrint.py index a6f2c55..6c7cce7 100644 --- a/GxPrint.py +++ b/GxPrint.py @@ -48,7 +48,7 @@ kill_command = 'taskkill /f /im GxPrint.exe' # 创建一个Flask应用 app = Flask(__name__) -CORS(app, supports_credentials=True) +CORS(app, supports_credentials=False, origins="*") app.json.ensure_ascii = False icon: pystray.Icon = None