Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 579d8d0

Browse files
committed
fix: use correct env variable
1 parent 239e86d commit 579d8d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/trpc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ function getBaseUrl() {
1414

1515
if (process.env.RENDER_INTERNAL_HOSTNAME)
1616
// reference for render.com
17-
return `http://${process.env.RENDER_INTERNAL_HOSTNAME}:${process.env.PORT}`;
17+
return `http://${process.env.RENDER_INTERNAL_HOSTNAME}:${process.env.KAIZOKU_PORT}`;
1818

1919
// assume localhost
20-
return `http://localhost:${process.env.PORT ?? 3000}`;
20+
return `http://localhost:${process.env.KAIZOKU_PORT ?? 3000}`;
2121
}
2222

2323
export const trpc = createTRPCNext<AppRouter>({

0 commit comments

Comments
 (0)