mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
Updated check
This commit is contained in:
parent
f6a0181f54
commit
c5cbd89a37
@ -2,10 +2,9 @@ import Head from 'next/head'
|
||||
import { FC, Fragment, ReactNode } from 'react'
|
||||
import config from '@config/seo_meta.json'
|
||||
|
||||
const storeBaseUrl =
|
||||
process.env.NEXT_PUBLIC_STORE_URL ?? process.env.NEXT_PUBLIC_VERCEL_URL
|
||||
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
|
||||
: null
|
||||
const storeUrl =
|
||||
process.env.NEXT_PUBLIC_STORE_URL || process.env.NEXT_PUBLIC_VERCEL_URL
|
||||
const storeBaseUrl = storeUrl ? `https://${storeUrl}` : null
|
||||
|
||||
interface OgImage {
|
||||
url?: string
|
||||
|
Loading…
x
Reference in New Issue
Block a user