mirror of
https://github.com/open-webui/open-webui.git
synced 2024-02-27 23:27:23 +03: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';
|