Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
re-enable webSecurity in the shell window
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Sep 13, 2016
1 parent 9abbbe8 commit d70b7aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/background-process/ui/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ export function createShellWindow () {
var win = new BrowserWindow({
titleBarStyle: 'hidden-inset',
'standard-window': false,
x, y, width, height,
webPreferences: {
webSecurity: false, // disable same-origin policy in the shell-window; the <webview>s of site content will have it re-enabled
}
x, y, width, height
})
downloads.registerListener(win)
loadURL(win, 'beaker:shell-window')
Expand Down

0 comments on commit d70b7aa

Please sign in to comment.