mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +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,
|
||||
darkTheme: true,
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
nodeIntegration: false,
|
||||
zoomFactor: config.zoom
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user