mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
🈲
This commit is contained in:
@@ -125,7 +125,9 @@ export const redisNamespace: string | null = getEnv(
|
||||
export const isServer = typeof window === 'undefined'
|
||||
|
||||
export const port = getEnv('PORT', '3000')
|
||||
export const host = isDev ? `http://localhost:${port}` : `https://${domain}`
|
||||
export const host = isDev
|
||||
? `http://localhost:${port}`
|
||||
: `https://${process.env.VERCEL_URL || domain}`
|
||||
|
||||
export const apiBaseUrl = `/api`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user