disable host check and cors on dev server
This commit is contained in:
parent
0920e95eba
commit
b012331251
@ -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": "*"},
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user