Removed CORS headers (added by accident in previous commit)

This commit is contained in:
adolfintel 2018-09-07 10:59:31 +02:00
parent ee004fd2d0
commit cb944de118

View file

@ -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'])) {