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

Commit e8d97f5

Browse files
committed
Add buildkite.localhost to allowedHosts
Avoids more strict behaviour introduced by webpack/webpack-dev-server#1603
1 parent 827f885 commit e8d97f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

webpack/config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ module.exports = {
7272
devtool: devTool,
7373

7474
devServer: {
75-
headers: { "Access-Control-Allow-Origin": "http://buildkite.localhost" }
75+
allowedHosts: [
76+
'buildkite.localhost'
77+
],
78+
headers: {
79+
'Access-Control-Allow-Origin': 'http://buildkite.localhost'
80+
}
7681
},
7782

7883
entry: {

0 commit comments

Comments
 (0)