mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix build (thanks axolotle <3)
This commit is contained in:
parent
021bff58e8
commit
0c4b7d1616
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
},
|
||||
}
|
||||
} : {}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue