Update to new server IPv4

This commit is contained in:
Laura Hausmann 2022-07-02 21:36:31 +02:00
parent 7d4992480b
commit 23f49859c6
Signed by: zotan
GPG Key ID: D044E84C5BE01605
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ header('Content-Type: application/json');
$ip = $_SERVER['REMOTE_ADDR'];
if (substr($ip, 0, 9) === "10.23.42.") {
$ip = "116.202.163.154";
$ip = "88.99.139.92";
}
$ip = escapeshellcmd($ip);

View File

@ -4,7 +4,7 @@ header('Content-Type: application/json');
$ip = $_SERVER['REMOTE_ADDR'];
if (substr($ip, 0, 9) === "10.23.42.") {
$ip = "116.202.163.154";
$ip = "88.99.139.92";
}
$res = array();

View File

@ -4,7 +4,7 @@ header('Content-Type: application/json');
$ip = $_SERVER['REMOTE_ADDR'];
if (substr($ip, 0, 9) === "10.23.42.") {
$ip = "116.202.163.154";
$ip = "88.99.139.92";
}
$asndb = '/var/lib/GeoIP/GeoLite2-ASN.mmdb';