From a4a48d2113e8940e3383f801ff048417ac1993d7 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Wed, 27 Nov 2024 00:36:18 +0700 Subject: [PATCH] update express listen --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index aedc373..8c92446 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), String(HOST), () => { +const server = app.listen(Number(PORT), () => { log.info(`Server ${config.get('app.name')} running on port http://${HOST}:${PORT}`); });