all repos — homestead @ 0aea714f85e49339cdb75deb12d122712aa69569

Code for my website

Print served URL via Server.url

Alan Pearce
commit

0aea714f85e49339cdb75deb12d122712aa69569

parent

7f290b9825f475392173640b169e9ed35f47fa9d

1 file changed, 1 insertion(+), 1 deletion(-)

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...");