diff --git a/boot.php b/boot.php index 0dd1d38234..1ef80e515d 100644 --- a/boot.php +++ b/boot.php @@ -290,7 +290,7 @@ class App { if($this->cmd === '.well-known/host-meta') { require_once('include/hostxrd.php'); - hostxrd($this->hostname); + hostxrd($this->get_baseurl()); // NOTREACHED } diff --git a/include/hostxrd.php b/include/hostxrd.php index 9161b265ca..987175c331 100644 --- a/include/hostxrd.php +++ b/include/hostxrd.php @@ -1,10 +1,10 @@ $domain - - - + + + + href="$domain/oexchange/xrd" />