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:
Anton Strömkvist 2018-01-25 11:15:59 +01:00 committed by GitHub
parent f18f49cacf
commit a45b045f7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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