Commit 253a5584 authored by flyingmana's avatar flyingmana

allow cross-origin requests for host-meta

parent aab26570
...@@ -59,6 +59,7 @@ class HostMetaAction extends Action ...@@ -59,6 +59,7 @@ class HostMetaAction extends Action
Event::handle('EndHostMetaLinks', array(&$xrd->links)); Event::handle('EndHostMetaLinks', array(&$xrd->links));
} }
header('Access-Control-Allow-Origin: *');
header('Content-type: application/xrd+xml'); header('Content-type: application/xrd+xml');
print $xrd->toXML(); print $xrd->toXML();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment