Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: add context isolation false, close #324
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Nov 9, 2020
1 parent 270f33a commit 5e0ea56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const createWindow = async () => {
}
: {
nodeIntegration: false,
contextIsolation: false,
contextIsolation: true,
webSecurity: true,
preload: path.join(__dirname, 'dist/renderer.prod.js'),
},
Expand Down

0 comments on commit 5e0ea56

Please sign in to comment.