We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14af9a2 commit 323839cCopy full SHA for 323839c
examples/hot-reload/server.js
@@ -6,7 +6,8 @@ new WebpackDevServer(webpack(config), {
6
publicPath: config.output.publicPath,
7
hot: true,
8
inline: true,
9
- historyApiFallback: true
+ historyApiFallback: true,
10
+ headers: { 'Access-Control-Allow-Origin': '*' }
11
}).listen(3000, '0.0.0.0', function (err, result) {
12
if (err) {
13
console.log(err);
0 commit comments