mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Allowing access to the API from any domain.
Necessary to make api.beestat.io work.
This commit is contained in:
parent
47bcf5d45b
commit
e195a5260b
@ -8,6 +8,9 @@
|
|||||||
* @author Jon Ziebell
|
* @author Jon Ziebell
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Allow access to the API from any domain.
|
||||||
|
header('Access-Control-Allow-Origin: *');
|
||||||
|
|
||||||
// Compress output.
|
// Compress output.
|
||||||
ob_start('ob_gzhandler');
|
ob_start('ob_gzhandler');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user