Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
22ab7f5f
Commit
22ab7f5f
authored
Aug 26, 2023
by
Jeffrey Morgan
Browse files
default host to `127.0.0.1`, fixes #424
parent
2ecc3a33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/client.go
api/client.go
+1
-1
No files found.
api/client.go
View file @
22ab7f5f
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment