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:
@@ -117,7 +117,7 @@ export const isServer = typeof window === 'undefined'
|
||||
export const port = getEnv('PORT', '3000')
|
||||
export const host = isDev ? `http://localhost:${port}` : `https://${domain}`
|
||||
|
||||
export const apiBaseUrl = `${host}/api`
|
||||
export const apiBaseUrl = `/api`
|
||||
|
||||
export const api = {
|
||||
searchNotion: `${apiBaseUrl}/search-notion`
|
||||
|
||||
Reference in New Issue
Block a user