disable host check and cors on dev server

This commit is contained in:
Shawn Erquhart 2017-05-22 13:26:15 -04:00
parent 0920e95eba
commit b012331251

View File

@ -58,5 +58,7 @@ module.exports = merge.smart(require('./webpack.base.js'), {
contentBase: 'example/',
historyApiFallback: true,
devTool: 'cheap-module-source-map',
disableHostCheck: true,
headers: {"Access-Control-Allow-Origin": "*"},
},
});