mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-09-11 04:36:05 +00:00
actually fix localhost client support
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user