diff --git a/index.html b/index.html index 6eca661..16f82fb 100644 --- a/index.html +++ b/index.html @@ -76,9 +76,9 @@ $ http ifconfig.co/city

JSON output:

 $ http ifconfig.co/json
-{ {{ if .IsLookupCountryEnabled }}
-    "country": "{{ .Country }}",{{ end }}{{ if .IsLookupCityEnabled }}
-    "city": "{{ .City }}",{{ end }}{{ if .IsLookupAddrEnabled }}
+{ {{ if .IsLookupCityEnabled }}
+    "city": "{{ .City }}",{{ end }}{{ if .IsLookupCountryEnabled }}
+    "country": "{{ .Country }}",{{ end }}{{ if .IsLookupAddrEnabled }}
     "hostname": "{{ .Hostname }}",{{ end }}
     "ip": "{{ .IP }}"
 }