fix #213196
fix #213196 (closed)
As public GraphQL API returns full absolute URL as string, using returned value asis in Anchor HREF will break Web UI, if Gitlab is behind reverse proxy.
So we use simply pathname from URL object (https://developer.mozilla.org/en-US/docs/Web/API/URL)
Having relative versus absolute URLs means that the same website can exist on different domains, without having to recode all of those URLs for each domain.