Skip to content

Commit

Permalink
Fixes #2. Disabled nodeIntegration to fix jQuery (#4)
Browse files Browse the repository at this point in the history
Often ueed by thirdparty IDPs / SAML auth services.
  • Loading branch information
cdloh authored and timche committed Nov 22, 2016
1 parent a72f1e6 commit 99c8f67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ function createWindow() {
title: app.getName(),
width: 1280,
height: 960,
titleBarStyle: 'hidden-inset'
titleBarStyle: 'hidden-inset',
webPreferences: {
nodeIntegration: false
}
})

mainWindow.loadURL('https://mail.google.com')
Expand Down

0 comments on commit 99c8f67

Please sign in to comment.