Skip to content

Commit

Permalink
fix cors bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxlct committed May 19, 2017
1 parent 66a337b commit c9fae78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
inline: true,
headers: { "Access-Control-Allow-Origin": "*" },
historyApiFallback: true
}).listen(listen_port, listen_addr, function (err, result)
{
Expand Down

0 comments on commit c9fae78

Please sign in to comment.