-
Let's say I have the sample app: // index.ts
const app = new Hono();
app.get("/", (ctx) => "Hello, world!");
export default app; In the console it shows this:
How would I go about changing the bind address to something like |
Beta Was this translation helpful? Give feedback.
Answered by
nakasyou
Nov 9, 2023
Replies: 1 comment
-
The method is written in Bun's document. export default {
fetch: app.fetch,
hostname: "mydomain.com",
} But, It is always displayed as |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sinjs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The method is written in Bun's document.
But, It is always displayed as
localhost:xxxx
.