Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Commit

Permalink
fix cors bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxlct authored and rokups committed May 22, 2017
1 parent 66a337b commit 73b195b
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 73b195b

Please sign in to comment.