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