update base condition

This commit is contained in:
yggverse 2025-03-14 22:48:15 +02:00
parent ffcf8f9627
commit 094a404cf0

View file

@ -38,7 +38,7 @@ impl Link {
unresolved_address = format!( unresolved_address = format!(
"{}://{}", "{}://{}",
b.scheme(), b.scheme(),
if postfix.is_empty() { if postfix.is_empty() || postfix == "/" {
b.host()? b.host()?
} else { } else {
postfix.into() postfix.into()