From b50b38cf4b7212c45d8d00559e8e4d641a211fa5 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Wed, 27 Nov 2024 00:42:38 +0700 Subject: [PATCH] update host --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 8c92446..aedc373 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ const log: Logger = new Logger({ name: '[Index]', type: 'pretty' }); const HOST = config.get('server.host') const PORT = config.get('server.port') -const server = app.listen(Number(PORT), () => { +const server = app.listen(Number(PORT), String(HOST), () => { log.info(`Server ${config.get('app.name')} running on port http://${HOST}:${PORT}`); });