mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
Fixed switch in getIpForDomain()
Fixed switch in getIpForDomain()
This commit is contained in:
parent
db9c82f9db
commit
38fe21bbef
@ -309,6 +309,7 @@ class ApiController extends Controller
|
||||
if (isset($data['0']['ip'])) {
|
||||
return response(array('ip' => $data['0']['ip']), 200);
|
||||
}
|
||||
break;
|
||||
case "AAAA":
|
||||
$data = dns_get_record($domainname, DNS_AAAA);
|
||||
if (isset($data['0']['ipv6'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user