This commit is contained in:
udhos 2017-11-25 16:16:26 -02:00
parent f644b0b488
commit 12b13d63e2
2 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,9 @@ $ wget -qO- ifconfig.co
$ fetch -qo- http://ifconfig.co
127.0.0.1
$ bat -print=b ifconfig.co/ip
127.0.0.1
```
Country and city lookup:

View File

@ -54,6 +54,9 @@ $ wget -qO- ifconfig.co
{{ .IP }}
$ fetch -qo- https://ifconfig.co
{{ .IP }}
$ bat -print=b ifconfig.co/ip
{{ .IP }}</pre>
{{ if .IsLookupCountryEnabled }}
<h2>Country lookup:</h2>