This commit is contained in:
Timothy Jaeryang Baek
2026-08-16 23:47:02 -07:00
parent 3e186abdd9
commit 75df30c0ea
3 changed files with 31 additions and 4 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
import { browser, dev } from '$app/environment';
// import { version } from '../../package.json';
// LICENSE covers this Open WebUI branding surface, including name, logo,
@@ -7,8 +6,8 @@ import { browser, dev } from '$app/environment';
// https://docs.openwebui.com/license.
export const APP_NAME = 'Open WebUI';
export const WEBUI_HOSTNAME = browser ? (dev ? `${location.hostname}:8080` : ``) : '';
export const WEBUI_BASE_URL = browser ? (dev ? `http://${WEBUI_HOSTNAME}` : ``) : ``;
export const WEBUI_HOSTNAME = '';
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`;
+1 -1
View File
@@ -62,7 +62,7 @@
removeTerminalConnection
} from '$lib/utils/connections';
import { WEBUI_API_BASE_URL, WEBUI_BASE_URL, WEBUI_HOSTNAME } from '$lib/constants';
import { WEBUI_API_BASE_URL, WEBUI_BASE_URL } from '$lib/constants';
import {
bestMatchingLanguage,
cleanText,