mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 18:34:14 +00:00
update external link condition
This commit is contained in:
parent
587f40bf32
commit
b408eaf4f2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user