Skip to content

Commit

Permalink
feat(main): disable webSecurity
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Mar 31, 2022
1 parent 56ff16e commit 3bd9999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function createWindow () {
preload: path.resolve(__dirname, 'preload.js'),
nodeIntegration: true,
contextIsolation: true,
webSecurity: !isDev
webSecurity: false
}
})

Expand Down

0 comments on commit 3bd9999

Please sign in to comment.