Skip to content

Commit

Permalink
Enable webview tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbradley committed Jul 24, 2019
1 parent 2209325 commit f2586cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ const createWindow = async () => {
skipTaskbar: true,
webPreferences: {
webSecurity: false, // This should be disabled in production
nodeIntegration: true // This should be disabled in production
nodeIntegration: true, // This should be disabled in production
webviewTag: true, // Might want to consider if there is a better way to preview web pages
}
};

Expand Down

0 comments on commit f2586cc

Please sign in to comment.