mirror of
https://github.com/YGGverse/web-api.git
synced 2025-03-13 05:51:41 +00:00
allow remote requests by Access-Control-Allow-Origin: *
This commit is contained in:
parent
6bbe001254
commit
0d95eaecc4
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Set headers
|
// Set headers
|
||||||
|
header('Access-Control-Allow-Origin: *');
|
||||||
header('Content-Type: application/json; charset=utf-8');
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
|
||||||
// Load dependencies
|
// Load dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user