mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Merge pull request #340 from VikasShashidhar/Electron-430
ELECTRON-430: Enable context isolation
This commit is contained in:
@@ -136,6 +136,7 @@ let config = {
|
||||
transparent: true,
|
||||
acceptFirstMouse: true,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'electron-notify-preload.js'),
|
||||
sandbox: sandboxed,
|
||||
nodeIntegration: isNodeEnv
|
||||
|
||||
@@ -27,6 +27,7 @@ let windowConfig = {
|
||||
autoHideMenuBar: true,
|
||||
resizable: false,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'configure-notification-position-preload.js'),
|
||||
sandbox: sandboxed,
|
||||
nodeIntegration: false
|
||||
|
||||
Reference in New Issue
Block a user