Skip to content

Commit

Permalink
Add cors setting
Browse files Browse the repository at this point in the history
  • Loading branch information
teramotodaiki committed Jun 22, 2017
1 parent b184fa9 commit c024259
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ function webpackDevelopment(webpackConfig) {
// timings: false,
// chunks: false,
// chunkModules: false
},
headers: {
'Access-Control-Allow-Origin': '*'
}
}).listen(port, host, function (err, result) {
if (err) {
Expand Down

0 comments on commit c024259

Please sign in to comment.