Skip to content

Commit

Permalink
Turn contextIsolation on
Browse files Browse the repository at this point in the history
This sets the contextIsolation flag to true when starting the main wallet
window. This improves security by isolating the preload and ipcRenderer scripts
from each other.
  • Loading branch information
matheusd committed Jun 2, 2021
1 parent 71ef24c commit 85d1c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ app.on("ready", async () => {
webPreferences: {
nodeIntegration: false,
devTools: true,
contextIsolation: false,
contextIsolation: true,
webSecurity: false,
enableRemoteModule,
preload: preloadPath
Expand Down

0 comments on commit 85d1c27

Please sign in to comment.