fix: Electron security issues and TOTP/None auth issues

This commit is contained in:
LukeGus
2025-11-02 01:19:29 -06:00
parent a52a5217bf
commit 7de387b987
9 changed files with 320 additions and 329 deletions

View File

@@ -62,10 +62,11 @@ function createWindow() {
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
webSecurity: true,
webSecurity: false,
preload: path.join(__dirname, "preload.js"),
partition: "persist:termix",
allowRunningInsecureContent: false,
allowRunningInsecureContent: true,
webviewTag: true,
},
show: false,
});