Whitelist account.sourcefabric.com for CORS
This commit is contained in:
parent
ec0d0375cf
commit
ef46b1facc
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ class CORSHelper
|
|||
(!in_array($origin,
|
||||
array("http://www.airtime.pro",
|
||||
"https://www.airtime.pro",
|
||||
"https://account.sourcefabric.com",
|
||||
"http://" . $_SERVER['SERVER_NAME'],
|
||||
"https://" . $_SERVER['SERVER_NAME']
|
||||
))
|
||||
|
@ -23,4 +24,4 @@ class CORSHelper
|
|||
throw new Zend_Controller_Action_Exception('Forbidden', 403);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue