dvPublicLocation function
Where a link to the internal location points: a path on this origin,
the mount stripped, when this host owns the route; an absolute URL on the
host that does otherwise. location itself without hosts.
Implementation
String dvPublicLocation(String location) {
final DVHostMatch? current = _current;
// The server's rule for the document it serves, so a link reads the same
// before and after the app takes the page over.
return current == null ? location : _hosts.linkFrom(current, location);
}