Disables node integration

Former-commit-id: 33f9219502
This commit is contained in:
David Benson 2018-03-16 15:55:28 +00:00
parent 6ada7cec6c
commit 85aa738056

View file

@ -20,6 +20,7 @@ function createWindow (opt = {})
{
width: 1600,
height: 1200,
nodeIntegration: false,
'web-security': false,
allowRunningInsecureContent: __DEV__,
webPreferences: {