Whitelist account.sourcefabric.com for CORS

This commit is contained in:
Albert Santoni 2014-09-04 19:11:09 -04:00
parent ec0d0375cf
commit ef46b1facc
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ class CORSHelper
(!in_array($origin, (!in_array($origin,
array("http://www.airtime.pro", array("http://www.airtime.pro",
"https://www.airtime.pro", "https://www.airtime.pro",
"https://account.sourcefabric.com",
"http://" . $_SERVER['SERVER_NAME'], "http://" . $_SERVER['SERVER_NAME'],
"https://" . $_SERVER['SERVER_NAME'] "https://" . $_SERVER['SERVER_NAME']
)) ))
@ -23,4 +24,4 @@ class CORSHelper
throw new Zend_Controller_Action_Exception('Forbidden', 403); throw new Zend_Controller_Action_Exception('Forbidden', 403);
} }
} }
} }