Skip to content

Commit

Permalink
fix vercel url
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaromagu committed Oct 11, 2023
1 parent f72e23e commit 56db160
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pruebas/02-bazar-universal/aiv4ro/src/constants/env.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const hostUrl = process.env.VERCEL_URL ?? 'http://localhost:3000'
const vercelUrl = process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : null
export const hostUrl = vercelUrl ?? 'http://localhost:3000'

0 comments on commit 56db160

Please sign in to comment.