Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Jun 9, 2017
1 parent 97ca9f8 commit 6b387f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ if (devBuild) {
config.devServer = {
hot: true,
contentBase: path.resolve('./web/'),
inline: true
inline: true,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization'
}
}
config.plugins.push(
new webpack.HotModuleReplacementPlugin()
Expand Down

0 comments on commit 6b387f8

Please sign in to comment.