Skip to content

Commit

Permalink
Fixed hot reload not working in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaljsr committed Jan 4, 2019
1 parent 484bcc7 commit bda954a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = {
transform: (content) => {
return JSON.stringify({
...JSON.parse(content),
content_security_policy: `script-src 'self' 'unsafe-eval' ${reactDevToolsUrl};`
content_security_policy: `script-src 'self' 'unsafe-eval' ${reactDevToolsUrl}; object-src 'self'`
}, null, 2);
}
}]),
Expand Down

0 comments on commit bda954a

Please sign in to comment.