summaryrefslogtreecommitdiff
path: root/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions.php')
-rw-r--r--includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/functions.php b/includes/functions.php
index 0118807..7146795 100644
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -8,6 +8,7 @@ function respondAndExit(int $responseCode, string $header, array $headers = []):
header($header);
}
+ header("Access-Control-Allow-Origin: *");
header('Content-Type: text/plain; charset=UTF-8');
exit();