Update startup.ts to use simpler flag check
This commit is contained in:
parent
6bdf04fad5
commit
5f585a426d
|
@ -58,7 +58,7 @@ export async function startup(app?: any, server?: any) {
|
|||
return
|
||||
}
|
||||
STARTUP_RAN = true
|
||||
if (server && env.CLUSTER_MODE?.toLowerCase() !== "true") {
|
||||
if (server && !env.CLUSTER_MODE) {
|
||||
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
|
||||
env._set("PORT", server.address().port)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue