diff --git a/src/lib/api/client.ts b/src/lib/api/client.ts index 5964b42..1a529e5 100644 --- a/src/lib/api/client.ts +++ b/src/lib/api/client.ts @@ -3,6 +3,7 @@ import type { RouteType } from "../../server/hono/route"; export const honoClient = hc( typeof window === "undefined" - ? `http://localhost:${process.env.PORT ?? 3000}/` + ? // biome-ignore lint/complexity/useLiteralKeys: TypeScript restriction + `http://localhost:${process.env["PORT"] ?? 3000}/` : "/", );