From 3d7912586ee1dbec99300737b0114e0b2ea40269 Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Thu, 21 Nov 2024 12:32:04 +0000 Subject: [PATCH] fix: use APP_BASE_URL --- packages/lib/universal/get-base-url.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/universal/get-base-url.ts b/packages/lib/universal/get-base-url.ts index 59cbc41c3..eafac77e7 100644 --- a/packages/lib/universal/get-base-url.ts +++ b/packages/lib/universal/get-base-url.ts @@ -1,12 +1,12 @@ /* eslint-disable turbo/no-undeclared-env-vars */ -import { NEXT_PUBLIC_MARKETING_URL } from '../constants/app'; +import { APP_BASE_URL } from '../constants/app'; export const getBaseUrl = () => { if (typeof window !== 'undefined') { return ''; } - const marketingAppUrl = NEXT_PUBLIC_MARKETING_URL(); + const marketingAppUrl = APP_BASE_URL(); if (marketingAppUrl) { return marketingAppUrl;