feat: 跨域解决
This commit is contained in:
parent
19ea10bcec
commit
ba1e6ec97b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue