1
0
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:
Jon Ziebell 2019-10-17 12:40:29 -04:00
parent 47bcf5d45b
commit e195a5260b

View File

@ -8,6 +8,9 @@
* @author Jon Ziebell
*/
// Allow access to the API from any domain.
header('Access-Control-Allow-Origin: *');
// Compress output.
ob_start('ob_gzhandler');