diff --git a/api/index.php b/api/index.php index 8ab68d6..2c499d0 100644 --- a/api/index.php +++ b/api/index.php @@ -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');