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