authorgravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-10-05 13:06:07-07:00
committergravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-10-14 02:40:48-07:00
log165f4035df4689343605874887574a8c06d0a24b
tree10a5cd458372314175b5f2532526d95bbe210728
parent83f7d1c67f60bc08f85e3878875374d3198e74fe
signature Commit is signed but in an unrecognized format.

feat: use lib/log in entry-node


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

framework/backend/entry-node.ts+8-5
......@@ -11,11 +11,13 @@ const server = serve({
1111 if (address === "::" || address === "127.0.0.1") {
1212 address = os.hostname().replace(/\.local$/, "");
1313 }
14 console.info(url.format({
15 protocol,
16 hostname: address,
17 port,
18 }));
14 console.info(
15 "live at " + url.format({
16 protocol,
17 hostname: address,
18 port,
19 }),
20 );
1921});
2022
2123process.on("SIGINT", () => {
......@@ -42,3 +44,4 @@ import * as os from "os";
4244import * as url from "node:url";
4345import { serve } from "@hono/node-server";
4446import process from "node:process";
47import * as console from "lib/log.ts";