diff --git a/lib/config.ts b/lib/config.ts index ca0c68f..75614f7 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -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`