Skip to content

Commit

Permalink
fix: fix bad base url (#4334)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraeth-eth authored May 18, 2024
1 parent 033d5bd commit 66e9710
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/constants/url.ts
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit 66e9710

Please sign in to comment.