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 a new issue