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