update condition

This commit is contained in:
yggverse 2025-03-14 22:57:05 +02:00
parent 094a404cf0
commit 0364760a35

View file

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