serve as application/xrd+xml
This commit is contained in:
parent
d0a3cfe765
commit
4c5a74284b
@ -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');
|
||||
|
@ -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');
|
||||
|
Reference in New Issue
Block a user