mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 14:01:24 +00:00
Fix production base url (#1429)
This commit is contained in:
@@ -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 = (
|
||||
|
Reference in New Issue
Block a user