Permalink
Browse files

Removed CORS headers (added by accident in previous commit)

  • Loading branch information...
adolfintel committed Sep 7, 2018
1 parent ee004fd commit cb944de1189c57dad229518f47548c8f32853bc7
Showing with 0 additions and 2 deletions.
  1. +0 −2 getIP.php
View
@@ -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'])) {

0 comments on commit cb944de

Please sign in to comment.