From 3fc40d06cc1349e7bad6bcec8f569b0121d56cb3 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 4 Jan 2024 20:59:28 -0800 Subject: [PATCH] fix --- src/lib/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 27744197..60832c73 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,6 +1,6 @@ import { dev } from '$app/environment'; -export const WEBUI_BASE_URL = dev ? `http://${location.hostname}:8080` : ``; +export const WEBUI_BASE_URL = ``; export const WEBUI_API_BASE_URL = `${WEBUI_BASE_URL}/api/v1`; export const OLLAMA_API_BASE_URL = `${WEBUI_BASE_URL}/ollama/api`;