mirror of
https://github.com/vercel/commerce.git
synced 2025-04-27 13:27:50 +00:00
Use production url for baseUrl
This commit is contained in:
parent
7f8f9ff1a3
commit
fa78b0693c
@ -1,7 +1,7 @@
|
||||
import { ReadonlyURLSearchParams } from 'next/navigation';
|
||||
|
||||
export const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL
|
||||
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
|
||||
export const baseUrl = process.env.VERCEL_PROJECT_PRODUCTION_URL
|
||||
? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`
|
||||
: 'http://localhost:3000';
|
||||
|
||||
export const createUrl = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user