Removed CORS headers (added by accident in previous commit)
This commit is contained in:
parent
b148636018
commit
b9a60c8ada
|
@ -7,8 +7,6 @@
|
|||
error_reporting(0);
|
||||
$ip = "";
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: GET, POST');
|
||||
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
} elseif (!empty($_SERVER['X-Real-IP'])) {
|
||||
|
|
Loading…
Reference in a new issue