Use the correct content type

This commit is contained in:
Michael 2022-04-11 06:07:50 +00:00
commit c88d306a41
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ function oexchange_init(App $a) {
$tpl = Renderer::getMarkupTemplate('oexchange_xrd.tpl');
$o = Renderer::replaceMacros($tpl, ['$base' => DI::baseUrl()]);
System::httpExit($o, Response::TYPE_XML);
System::httpExit($o, Response::TYPE_XML, 'application/xrd+xml');
}
}