about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-01 19:20:12 +0200
committerAlan Pearce2024-04-01 19:20:12 +0200
commit038ba7ae4f6b56ae334d2351ac810c1ef23d8705 (patch)
treeea0415959b9f9b472d0cb39d5027b8918e903a21
parentf7988ab62cfd9e007acb70a0bc6a377d7bfb5378 (diff)
downloadwebsite-038ba7ae4f6b56ae334d2351ac810c1ef23d8705.tar.lz
website-038ba7ae4f6b56ae334d2351ac810c1ef23d8705.tar.zst
website-038ba7ae4f6b56ae334d2351ac810c1ef23d8705.zip
Print served URL via Server.url
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index f0db416..9e806ba 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -8,7 +8,7 @@ const metricsServed = Bun.serve(metricsServer);
 console.info(`Metrics server started on port ${metricsServed.port}`);
 
 const served = Bun.serve(server);
-console.info(`Serving website on http://${served.hostname}:${served.port}/`);
+console.info(`Serving website on ${served.url}`);
 
 process.on("SIGTERM", function () {
   log.info("SIGTERM received, shutting down...");