allow remote requests by Access-Control-Allow-Origin: *

This commit is contained in:
ghost 2023-12-16 05:29:07 +02:00
parent 6bbe001254
commit 0d95eaecc4

View File

@ -1,6 +1,7 @@
<?php
// Set headers
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json; charset=utf-8');
// Load dependencies