mirror of
https://github.com/YGGverse/web-api.git
synced 2026-03-31 17:45:30 +00:00
allow remote requests by Access-Control-Allow-Origin: *
This commit is contained in:
parent
6bbe001254
commit
0d95eaecc4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue