Merge pull request #234 from joelgarboden/feature/remote_testing

Disable 'localhost' host header requirement
This commit is contained in:
William
2018-04-13 07:34:59 +10:00
committed by GitHub

1
devServer.js Normal file → Executable file
View File

@@ -5,6 +5,7 @@ var config = require('./webpack.config.dev');
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
disableHostCheck: true,
headers: { "Access-Control-Allow-Origin": "*" },
historyApiFallback: {
rewrites: [