add CONFIGURED status to bootstrap before READY

This commit is contained in:
lesion
2022-08-02 15:14:34 +02:00
parent 3e98f437b1
commit adbe2ec2a8
4 changed files with 16 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ let config = {
if (fs.existsSync(config_path)) {
const configContent = fs.readFileSync(config_path)
config = Object.assign(config, JSON.parse(configContent))
config.status = 'READY'
config.status = 'CONFIGURED'
if (!config.hostname) {
config.hostname = new URL.URL(config.baseurl).hostname
}