Disable host check
This commit is contained in:
parent
54b1793e2d
commit
f6cf39fb99
|
@ -151,7 +151,7 @@ module.exports = {
|
|||
contentBase: path.join(__dirname, '/public'),
|
||||
publicPath: process.env.WEBPACK_PUBLIC_PATH || '/assets/',
|
||||
writeToDisk: true,
|
||||
allowedHosts: ['localhost'],
|
||||
disableHostCheck: true,
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue