default host to 127.0.0.1
, fixes #424
This commit is contained in:
parent
2ecc3a33c3
commit
22ab7f5f88
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
||||||
"github.com/jmorganca/ollama/version"
|
"github.com/jmorganca/ollama/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
const DefaultHost = "localhost:11434"
|
const DefaultHost = "127.0.0.1:11434"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
envHost = os.Getenv("OLLAMA_HOST")
|
envHost = os.Getenv("OLLAMA_HOST")
|
||||||
|
|
Loading…
Reference in a new issue