diff --git a/.env.dev b/.env.dev index 4e4d4ca..f9cc8eb 100644 --- a/.env.dev +++ b/.env.dev @@ -4,7 +4,6 @@ DATABASE_LOGGING = 1 # PORT = 3000 API_HOST = '127.0.0.1' -LISTEN_HOST = :: # SLAVE_FOR = producer SLAVE_MAX_TRANSPORT_PER_WORKER = 500 diff --git a/src/utils/bootstrap.ts b/src/utils/bootstrap.ts index 285820e..8f36674 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.LISTEN_HOST || process.env.API_HOST, + host: process.env.API_HOST, }); console.log('✅ App ready: ' + address); } catch (err) {