mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update external link condition
This commit is contained in:
parent
587f40bf32
commit
b408eaf4f2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue