serve as application/xrd+xml

This commit is contained in:
redmatrix 2015-09-15 21:47:01 -07:00
parent d0a3cfe765
commit 4c5a74284b
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
function hostxrd_init(&$a) {
header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
header("Content-type: application/xrd+xml");
logger('hostxrd',LOGGER_DEBUG);
$tpl = get_markup_template('xrd_host.tpl');

View File

@ -32,7 +32,7 @@ function xrd_init(&$a) {
$salmon_key = salmon_key($r[0]['channel_pubkey']);
header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
header("Content-type: application/xrd+xml");
$tpl = get_markup_template('view/xrd_person.tpl');