Removed CORS headers (added by accident in previous commit)

This commit is contained in:
adolfintel 2018-09-07 10:59:55 +02:00
parent b148636018
commit b9a60c8ada

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