Use http:// with fetch example

This resolves an issue for those serving echoip exclusively over HTTP.

Those using HTTPS are likely to have a redirect in place from HTTP to
HTTPS, which fetch will follow. Whereas the reverse is less likely.

Using http:// as the default here is likely to be more widely
compatible.
This commit is contained in:
Steven Honson 2020-06-15 15:03:24 +10:00
parent d576730d08
commit f57ced63d8
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ $ http -b {{ .Host }}
$ wget -qO- {{ .Host }}
{{ .IP }}
$ fetch -qo- https://{{ .Host }}
$ fetch -qo- http://{{ .Host }}
{{ .IP }}
$ bat -print=b {{ .Host }}/ip