From 2b731d6a00f27c6b360e3ea08f6b8378aaf3e436 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Thu, 31 Oct 2024 20:35:13 +0200 Subject: [PATCH] added for local --- electron/src/setup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/src/setup.ts b/electron/src/setup.ts index 0483afa..3f267b8 100644 --- a/electron/src/setup.ts +++ b/electron/src/setup.ts @@ -122,6 +122,7 @@ export class ElectronCapacitorApp { // Use preload to inject the electron varriant overrides for capacitor plugins. // preload: join(app.getAppPath(), "node_modules", "@capacitor-community", "electron", "dist", "runtime", "electron-rt.js"), preload: preloadPath, + webSecurity: false }, }); this.mainWindowState.manage(this.MainWindow);