Skip to content

Commit

Permalink
🐛 Fix https port logging when starting the api in https
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed May 23, 2024
1 parent 3812b4c commit 92ae35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function startHttpsServer(){
const httpsApp = await NestFactory.create<NestFastifyApplication>(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
Expand Down

0 comments on commit 92ae35d

Please sign in to comment.