From e8d97f5d5c9ed2faba3f8924894b02d1c59e9016 Mon Sep 17 00:00:00 2001 From: Jessica Stokes Date: Wed, 30 Jan 2019 12:30:52 -0800 Subject: [PATCH] Add `buildkite.localhost` to `allowedHosts` Avoids more strict behaviour introduced by webpack/webpack-dev-server#1603 --- webpack/config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webpack/config.js b/webpack/config.js index 505eb8345..484d7ec96 100644 --- a/webpack/config.js +++ b/webpack/config.js @@ -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: {