mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-11 10:54: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) {
|
match Uri::parse(&resolved, UriFlags::NONE) {
|
||||||
Ok(object) => {
|
Ok(object) => {
|
||||||
// Set external status
|
// Set external status
|
||||||
external = object.host() != base.host();
|
external =
|
||||||
|
object.host() != base.host() || object.port() != base.port();
|
||||||
|
|
||||||
// Set struct URI
|
// Set struct URI
|
||||||
uri = object;
|
uri = object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user