diff --git a/src/constants/url.ts b/src/constants/url.ts index a91660ca78..0bf8ccb6d6 100644 --- a/src/constants/url.ts +++ b/src/constants/url.ts @@ -1,7 +1,8 @@ -export const SiteBaseUrl = - process.env.NEXT_PUBLIC_BASE_URL ?? process.env.NEXT_PUBLIC_VERCEL_URL - ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/` - : undefined +export const SiteBaseUrl = process.env.NEXT_PUBLIC_BASE_URL + ? process.env.NEXT_PUBLIC_BASE_URL + : process.env.NEXT_PUBLIC_VERCEL_URL + ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/` + : undefined // Fixes File '/Users/wraeth/projects/juice-interface/src/constants/url.ts' is not a module. export {}