diff --git a/spec/dummy/client/server-rails-hot.js b/spec/dummy/client/server-rails-hot.js index 2620955aa5..de7c84bf5f 100644 --- a/spec/dummy/client/server-rails-hot.js +++ b/spec/dummy/client/server-rails-hot.js @@ -25,7 +25,9 @@ const { hotReloadingUrl, hotReloadingPort, hotReloadingHostname } = webpackConfi const compiler = webpack(webpackConfig); const devServer = new WebpackDevServer(compiler, { - contentBase: hotReloadingUrl, + proxy: { + '*': hotReloadingUrl, + }, headers: { 'Access-Control-Allow-Origin': '*', },