From 1f17b305b336a634ab49a21bf7560ec089516c46 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 26 Mar 2022 01:12:04 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`