mirror of
https://github.com/open-webui/open-webui
synced 2024-11-08 09:39:55 +00:00
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
|
import { browser, dev } from '$app/environment';
|
||
|
|
||
|
export const ENDPOINT = dev
|
||
|
? 'http://127.0.0.1:11434'
|
||
|
: browser
|
||
|
? 'http://127.0.0.1:11434'
|
||
|
: 'http://host.docker.internal:11434';
|