forked from open-webui/open-webui
feat: set first user to admin by default
This commit is contained in:
parent
07d2c9871f
commit
83ff1d77ea
8 changed files with 28 additions and 25 deletions
|
@ -3,8 +3,10 @@ import { PUBLIC_API_BASE_URL } from '$env/static/public';
|
|||
|
||||
export const OLLAMA_API_BASE_URL =
|
||||
PUBLIC_API_BASE_URL === ''
|
||||
? browser
|
||||
? dev
|
||||
? `http://${location.hostname}:8080/ollama/api`
|
||||
: browser
|
||||
? `http://${location.hostname}:11434/api`
|
||||
: `http://localhost:11434/api`
|
||||
: PUBLIC_API_BASE_URL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue