Skip to content
Source
Sign inSign up
samwillis/jerry
Open History to see the last commit

local.ts

10 lines266 Bytes

1import { serve } from "@hono/node-server";
2import app from "./index.js";
3serve(
4 {
5 fetch: app.fetch,
6 hostname: "127.0.0.1",
7 port: Number(process.env.PORT || 8787),
8 },
9 (address) => console.log(`JOL listening on http://127.0.0.1:${address.port}`),
10);