Fix build (thanks axolotle <3)

This commit is contained in:
Alexandre Aubin 2021-09-20 00:51:25 +02:00
parent 021bff58e8
commit 0c4b7d1616

View file

@ -58,7 +58,7 @@ module.exports = {
}
},
publicPath: '/yunohost/admin',
devServer: {
devServer: process.env.NODE_ENV === 'development' ? {
public: fs.readFileSync('/etc/yunohost/current_host', 'utf8'),
https: false,
disableHostCheck: true,
@ -74,5 +74,5 @@ module.exports = {
aggregateTimeout: 300,
poll: 1000
},
}
} : {}
}