File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ import { browser, dev } from '$app/environment';
33
44export const APP_NAME = 'ActionBridge' ;
55
6- // Backend IP for dev environment
7- const DEV_BACKEND_IP = 'ec2-34-224-7-3.compute-1.amazonaws. com' ; // Tu IP de instancia aquí
6+ // Backend domain for dev environment
7+ const DEV_BACKEND_DOMAIN = 'dev-langbuilder-app.cloudgeometry. com' ; // Con SSL automático
88
9- export const WEBUI_HOSTNAME = browser ? ( dev ? ` ${ DEV_BACKEND_IP } :8767` : location . host ) : '' ;
10- export const WEBUI_BASE_URL = browser ? ( dev ? `http ://${ WEBUI_HOSTNAME } ` : `${ location . protocol } //${ location . host } ` ) : `` ;
9+ export const WEBUI_HOSTNAME = browser ? ( dev ? DEV_BACKEND_DOMAIN : location . host ) : '' ;
10+ export const WEBUI_BASE_URL = browser ? ( dev ? `https ://${ WEBUI_HOSTNAME } ` : `${ location . protocol } //${ location . host } ` ) : `` ;
1111export const WEBUI_API_BASE_URL = `${ WEBUI_BASE_URL } /api/v1` ;
1212
1313export const OLLAMA_API_BASE_URL = `${ WEBUI_BASE_URL } /ollama` ;
You can’t perform that action at this time.
0 commit comments