app: fix desktop app stuck loading when OLLAMA_HOST is an unspecified bind address (#14885)
This commit is contained in:
@@ -155,7 +155,7 @@ func (s *Server) ollamaProxy() http.Handler {
|
||||
return
|
||||
}
|
||||
|
||||
target := envconfig.Host()
|
||||
target := envconfig.ConnectableHost()
|
||||
s.log().Info("configuring ollama proxy", "target", target.String())
|
||||
|
||||
newProxy := httputil.NewSingleHostReverseProxy(target)
|
||||
|
||||
Reference in New Issue
Block a user