mirror of
https://github.com/stryan/gandi-live-dns.git
synced 2024-11-22 21:35:45 -05:00
Update ifconfig.co example endpoint
Requesting the url without `/ip` will return a response with the HTML of the web page, causing the script to throw an error
This commit is contained in:
parent
f18f49cacf
commit
a45b045f7f
@ -36,7 +36,7 @@ run your own external IP provider:
|
|||||||
+ <?php $ip = $_SERVER['REMOTE_ADDR']; ?>
|
+ <?php $ip = $_SERVER['REMOTE_ADDR']; ?>
|
||||||
<?php print $ip; ?>
|
<?php print $ip; ?>
|
||||||
e.g.
|
e.g.
|
||||||
+ https://ifconfig.co
|
+ https://ifconfig.co/ip
|
||||||
+ http://ifconfig.me/ip
|
+ http://ifconfig.me/ip
|
||||||
+ http://whatismyip.akamai.com/
|
+ http://whatismyip.akamai.com/
|
||||||
+ http://ipinfo.io/ip
|
+ http://ipinfo.io/ip
|
||||||
|
Loading…
Reference in New Issue
Block a user