update external link condition

This commit is contained in:
yggverse 2024-09-27 01:00:52 +03:00
parent 587f40bf32
commit b408eaf4f2

View File

@ -48,7 +48,8 @@ impl Link {
match Uri::parse(&resolved, UriFlags::NONE) {
Ok(object) => {
// Set external status
external = object.host() != base.host();
external =
object.host() != base.host() || object.port() != base.port();
// Set struct URI
uri = object;