actually fix localhost client support

This commit is contained in:
nelind
2025-12-25 21:04:32 +00:00
committed by Tangled
parent 3af1b7ee44
commit ad4dd08c9b
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -91,7 +91,8 @@ impl ClientMetadataCache {
url.scheme() == "http"
&& url.host_str() == Some("localhost")
&& url.port().is_none()
&& url.path().is_empty()
// empty path
&& url.path() == "/"
} else {
false
}