mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Enable contextIsolation in electron
Fixes warning when starting MM
This commit is contained in:
parent
ea6eebd809
commit
6ff85ebe54
@ -27,6 +27,7 @@ function createWindow() {
|
|||||||
y: 0,
|
y: 0,
|
||||||
darkTheme: true,
|
darkTheme: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
contextIsolation: true,
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
zoomFactor: config.zoom
|
zoomFactor: config.zoom
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user