From fa78b0693c7b88108ec365a7bc19db6047d55f9a Mon Sep 17 00:00:00 2001 From: John Stringer Date: Sun, 9 Feb 2025 22:00:15 +0000 Subject: [PATCH] Use production url for baseUrl --- lib/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.ts b/lib/utils.ts index 785456336..2550716d5 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -1,7 +1,7 @@ import { ReadonlyURLSearchParams } from 'next/navigation'; -export const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL - ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` +export const baseUrl = process.env.VERCEL_PROJECT_PRODUCTION_URL + ? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}` : 'http://localhost:3000'; export const createUrl = (