This commit is contained in:
BillionToken 2026-05-12 16:06:01 +00:00 committed by GitHub
commit aa7da39d13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2333,7 +2333,7 @@ func TestIsLocalhost(t *testing.T) {
}{
{"default empty", "", true},
{"localhost no port", "localhost", true},
{"localhost with port", "localhost:11435", true},
{"localhost with port", "localhost:11434", true},
{"127.0.0.1 no port", "127.0.0.1", true},
{"127.0.0.1 with port", "127.0.0.1:11434", true},
{"0.0.0.0 no port", "0.0.0.0", true},