mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Disable 'localhost' limit
Disale host header so webpack allows more than localhost access
This commit is contained in:
1
devServer.js
Normal file → Executable file
1
devServer.js
Normal file → Executable 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: [
|
||||
|
||||
Reference in New Issue
Block a user