Timothy J. Baek 1 năm trước cách đây
mục cha
commit
3fc40d06cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/constants.ts

+ 1 - 1
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`;