Skip to content

Commit 3bd9999

Browse files
committed
feat(main): disable webSecurity
1 parent 56ff16e commit 3bd9999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function createWindow () {
2222
preload: path.resolve(__dirname, 'preload.js'),
2323
nodeIntegration: true,
2424
contextIsolation: true,
25-
webSecurity: !isDev
25+
webSecurity: false
2626
}
2727
})
2828

0 commit comments

Comments
 (0)