Url.toRelative
toRelative() -> Url
Description
Returns a URL of the current object with the origin (host/domain) removed.
url'https://mysite.com/my/page?foo=1'.toRelative() //= url'/my/page?foo=1'
Returns a URL of the current object with the origin (host/domain) removed.
url'https://mysite.com/my/page?foo=1'.toRelative() //= url'/my/page?foo=1'