We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d428f1 commit 824d843Copy full SHA for 824d843
1 file changed
index.ts
@@ -6,8 +6,8 @@ const app = new Hono();
6
app.get("/", (c) => c.text("compute-e2e-happy: ok"));
7
app.get("/health", (c) => c.json({ ok: true }));
8
9
-// Serve over node:http so it binds regardless of whether Compute runs the app
10
-// under Node or Bun (Bun.serve / the default-export form only bind under Bun).
11
-const port = Number(process.env.PORT ?? 8080);
+// Compute's framework-led port mapping routes Hono apps to 3000; bind there so
+// the deployed app is reachable (PORT is not injected on the customer-app path).
+const port = Number(process.env.PORT ?? 3000);
12
serve({ fetch: app.fetch, port });
13
console.info(`compute-e2e-happy listening on :${port}`);
0 commit comments