all repos — website @ 038ba7ae4f6b56ae334d2351ac810c1ef23d8705

My website

Print served URL via Server.url
Alan Pearce alan@alanpearce.eu
Mon, 01 Apr 2024 19:20:12 +0200
commit

038ba7ae4f6b56ae334d2351ac810c1ef23d8705

parent

f7988ab62cfd9e007acb70a0bc6a377d7bfb5378

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/index.tssrc/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...");