Skip to content

Commit

Permalink
Adds CORP header to dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissrogers committed May 27, 2020
1 parent 9ec18f5 commit d46c545
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ module.exports = {
},
devServer: {
disableHostCheck: true,
host: 'js.lvh.me'
host: 'js.lvh.me',
headers: {
'Cross-Origin-Resource-Policy': 'cross-origin'
}
},
};

0 comments on commit d46c545

Please sign in to comment.