From 1b913091b782b5b5ed8bbf41699f418f8a4238f4 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 11 Feb 2022 11:34:09 +0300 Subject: [PATCH] Allowing to use no-cors requests Signed-off-by: Alex Andreev --- src/main/window-manager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/window-manager.ts b/src/main/window-manager.ts index 9985f39597..31120e8c94 100644 --- a/src/main/window-manager.ts +++ b/src/main/window-manager.ts @@ -75,6 +75,7 @@ export class WindowManager extends Singleton { webviewTag: true, contextIsolation: false, nativeWindowOpen: false, + webSecurity: false, // TODO: set true for production! }, }); this.windowState.manage(this.mainWindow);