Skip to content

Commit

Permalink
feat: update base URL in non-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Feb 15, 2024
1 parent 516159f commit 93c5acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constants/site-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { capitalize } from 'lodash-es';
export const baseUrl = `https://${
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'development'
? process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL
? process.env.NEXT_PUBLIC_VERCEL_URL
: process.env.NEXT_PUBLIC_PROD_URL
}`;

Expand Down

0 comments on commit 93c5acb

Please sign in to comment.