From 93fc63b432b46ced60ec3ce5e18f37f989922094 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 6 Oct 2025 20:29:34 +0200 Subject: [PATCH] asdf --- t3-nextauth/src/trpc/react.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/t3-nextauth/src/trpc/react.tsx b/t3-nextauth/src/trpc/react.tsx index 37a8002..461dd98 100644 --- a/t3-nextauth/src/trpc/react.tsx +++ b/t3-nextauth/src/trpc/react.tsx @@ -74,5 +74,6 @@ export function TRPCReactProvider(props: { children: React.ReactNode }) { function getBaseUrl() { if (typeof window !== "undefined") return window.location.origin; if (process.env.VERCEL_URL) return `https://${process.env.VERCEL_URL}`; + if (process.env.COOLIFY_URL) return process.env.COOLIFY_URL; return `http://localhost:${process.env.PORT ?? 3000}`; }