chore: change to API_ENDPOINT to conventional name API_BASE_URL

This commit is contained in:
AJ ONeal
2023-10-22 00:38:12 -06:00
parent c307777a6d
commit 859adee369
6 changed files with 23 additions and 22 deletions

6
example.env Normal file
View File

@@ -0,0 +1,6 @@
PUBLIC_API_BASE_URL="http://localhost:11434/api"
OLLAMA_API_ID='my-api-token'
OLLAMA_API_TOKEN='xxxxxxxxxxxxxxxx'
# generated by passing the token to `caddy hash-password`
OLLAMA_API_TOKEN_DIGEST='$2a$14$iyyuawykR92xTHNR9lWzfu.uCct/9/xUPX3zBqLqrjAu0usNRPbyi'