Merge pull request #500 from wrongecho/fix-domain-expire-lookup-url

Change domain expiration lookup service from Heroku to ITFlow
This commit is contained in:
Johnny
2022-12-08 18:32:44 -05:00
committed by GitHub

View File

@@ -362,7 +362,7 @@ function getDomainExpirationDate($name){
} }
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://itflow-whois.herokuapp.com/$name"); curl_setopt($ch, CURLOPT_URL, "http://lookup.itflow.org:8080/$name");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$response = json_decode(curl_exec($ch),1); $response = json_decode(curl_exec($ch),1);