diff --git a/src/utils/bootstrap.ts b/src/utils/bootstrap.ts index 8f36674..285820e 100644 --- a/src/utils/bootstrap.ts +++ b/src/utils/bootstrap.ts @@ -32,7 +32,7 @@ export async function startServer(routers: RouteConfig[]) { const address = await server.listen({ port: port ? parseInt(port) : 3000, - host: process.env.API_HOST, + host: process.env.LISTEN_HOST || process.env.API_HOST, }); console.log('✅ App ready: ' + address); } catch (err) {