forked from GNUsocial/gnu-social
allow cross-origin requests for xrd
This commit is contained in:
parent
253a55846a
commit
62977ad4f2
@ -30,6 +30,7 @@ class UserxrdAction extends XrdAction
|
||||
function prepare($args)
|
||||
{
|
||||
parent::prepare($args);
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
|
||||
$this->uri = $this->trimmed('uri');
|
||||
$this->uri = self::normalize($this->uri);
|
||||
|
Loading…
Reference in New Issue
Block a user