onboard now derives defaults from env vars before writing config

This commit is contained in:
zvictor
2026-03-05 16:12:17 -03:00
parent 70e41150c5
commit ffd1631b14
2 changed files with 167 additions and 23 deletions

View File

@@ -149,7 +149,14 @@ export async function promptServer(opts?: {
}
return {
server: { deploymentMode, exposure, host: hostStr.trim(), port, allowedHostnames, serveUi: true },
server: {
deploymentMode,
exposure,
host: hostStr.trim(),
port,
allowedHostnames,
serveUi: currentServer?.serveUi ?? true,
},
auth,
};
}