Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Commit

Permalink
Add buildkite.localhost to allowedHosts
Browse files Browse the repository at this point in the history
Avoids more strict behaviour introduced by webpack/webpack-dev-server#1603
  • Loading branch information
ticky committed Jan 30, 2019
1 parent 827f885 commit e8d97f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack/config.js
Expand Up @@ -72,7 +72,12 @@ module.exports = {
devtool: devTool,

devServer: {
headers: { "Access-Control-Allow-Origin": "http://buildkite.localhost" }
allowedHosts: [
'buildkite.localhost'
],
headers: {
'Access-Control-Allow-Origin': 'http://buildkite.localhost'
}
},

entry: {
Expand Down

0 comments on commit e8d97f5

Please sign in to comment.