Commit c5e36c8d authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

Update contants.ts

parent f5bca7c4
import { browser, dev } from '$app/environment';
export const ENDPOINT = browser
export const ENDPOINT =
process.env.OLLAMA_ENDPOINT != undefined
? process.env.OLLAMA_ENDPOINT
: browser
? `http://${location.hostname}:11434`
: dev
? 'http://127.0.0.1:11434'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment