From 92ae35d234e9ca5de48917feea04290f82291d6c Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Thu, 23 May 2024 13:01:39 +0200 Subject: [PATCH] :bug: Fix https port logging when starting the api in https --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index bacaf12..f4cb060 100644 --- a/src/main.ts +++ b/src/main.ts @@ -72,7 +72,7 @@ async function startHttpsServer(){ const httpsApp = await NestFactory.create(AppModule, new FastifyAdapter({https: httpsOptions})); await loadServer(httpsApp, getServerAddress(process.env.BIND_ADDRESS, process.env.HTTP_PORT, "https")); await httpsApp.listen(process.env.HTTPS_PORT, process.env.BIND_ADDRESS); - logServerStart(process.env.BIND_ADDRESS, process.env.HTTP_PORT, "https"); + logServerStart(process.env.BIND_ADDRESS, process.env.HTTPS_PORT, "https"); } // eslint-disable-next-line @typescript-eslint/no-unused-vars