From f3edf431586ee3676b56a6785111418b9300b7c0 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Wed, 26 Jul 2023 14:29:35 -0400 Subject: [PATCH] chore: log listen address (#3428) --- server/src/immich/main.ts | 2 +- server/src/microservices/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/immich/main.ts b/server/src/immich/main.ts index ea12a340af..5ba2805ecc 100644 --- a/server/src/immich/main.ts +++ b/server/src/immich/main.ts @@ -31,5 +31,5 @@ export async function bootstrap() { const server = await app.listen(port); server.requestTimeout = 30 * 60 * 1000; - logger.log(`Immich Server is listening on ${port} [v${SERVER_VERSION}] [${envName}] `); + logger.log(`Immich Server is listening on ${await app.getUrl()} [v${SERVER_VERSION}] [${envName}] `); } diff --git a/server/src/microservices/main.ts b/server/src/microservices/main.ts index 1f170786b1..2937e6213b 100644 --- a/server/src/microservices/main.ts +++ b/server/src/microservices/main.ts @@ -17,5 +17,5 @@ export async function bootstrap() { await app.get(AppService).init(); await app.listen(port); - logger.log(`Immich Microservices is listening on ${port} [v${SERVER_VERSION}] [${envName}] `); + logger.log(`Immich Microservices is listening on ${await app.getUrl()} [v${SERVER_VERSION}] [${envName}] `); }