mirror of
https://github.com/ollama/ollama.git
synced 2025-11-12 07:17:33 +01:00
envconfig: default to port 443 when connecting to ollama.com (#12617)
This commit is contained in:
@@ -37,6 +37,7 @@ func TestHost(t *testing.T) {
|
||||
"https": {"https://1.2.3.4", "https://1.2.3.4:443"},
|
||||
"https port": {"https://1.2.3.4:4321", "https://1.2.3.4:4321"},
|
||||
"proxy path": {"https://example.com/ollama", "https://example.com:443/ollama"},
|
||||
"ollama.com": {"ollama.com", "https://ollama.com:443"},
|
||||
}
|
||||
|
||||
for name, tt := range cases {
|
||||
|
||||
Reference in New Issue
Block a user