Skip to content

Commit

Permalink
Added 'unsafe-eval' to CSP so Vue will work
Browse files Browse the repository at this point in the history
  • Loading branch information
Booligoosh committed Dec 22, 2018
1 parent 534ce58 commit 6574990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mb.on('ready', function ready () {
callback({
responseHeaders: {
...details.responseHeaders,
'Content-Security-Policy': ["script-src 'self' https://makerlog-menubar-app.netlify.com/ https://getmakerlog.com https://api.getmakerlog.com https://api.github.com"]
'Content-Security-Policy': ["script-src 'self' 'unsafe-eval' https://makerlog-menubar-app.netlify.com/ https://getmakerlog.com https://api.getmakerlog.com https://api.github.com"]
}
})
})
Expand Down

0 comments on commit 6574990

Please sign in to comment.