diff --git a/README.md b/README.md index 852a8e9..6ca1840 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/index.html b/index.html index 979ef63..9f41723 100644 --- a/index.html +++ b/index.html @@ -54,6 +54,9 @@ $ wget -qO- ifconfig.co {{ .IP }} $ fetch -qo- https://ifconfig.co +{{ .IP }} + +$ bat -print=b ifconfig.co/ip {{ .IP }} {{ if .IsLookupCountryEnabled }}

Country lookup: