Skip to content

Let's use AI to Earn!

feat: 关闭跨域

牛文政0fb01f2df6c1
diff --git a/electron/main/index.ts b/electron/main/index.ts
index 1998ad24..41948880 100644
--- a/electron/main/index.ts
+++ b/electron/main/index.ts
@@ -59,6 +59,7 @@ async function createWindow() {
webPreferences: {
preload,
webviewTag: true,
+ webSecurity: false,
nodeIntegration: false,
contextIsolation: true,
},