Disable host check

This commit is contained in:
Angelillo15 2023-10-17 21:48:15 +02:00
parent 54b1793e2d
commit f6cf39fb99
1 changed files with 1 additions and 1 deletions

View File

@ -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': '*',
}, },