Commit 22ab7f5f authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

default host to `127.0.0.1`, fixes #424

parent 2ecc3a33
...@@ -16,7 +16,7 @@ import ( ...@@ -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")
......
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