Browse Source

chore: log listen address (#3428)

Jason Rasmussen 2 years ago
parent
commit
f3edf43158
2 changed files with 2 additions and 2 deletions
  1. 1 1
      server/src/immich/main.ts
  2. 1 1
      server/src/microservices/main.ts

+ 1 - 1
server/src/immich/main.ts

@@ -31,5 +31,5 @@ export async function bootstrap() {
   const server = await app.listen(port);
   const server = await app.listen(port);
   server.requestTimeout = 30 * 60 * 1000;
   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}] `);
 }
 }

+ 1 - 1
server/src/microservices/main.ts

@@ -17,5 +17,5 @@ export async function bootstrap() {
   await app.get(AppService).init();
   await app.get(AppService).init();
   await app.listen(port);
   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}] `);
 }
 }