Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: 关闭跨域
牛文政0fb01f2df6c1
diff --git a/electron/main/index.ts b/electron/main/index.tsindex 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,},