From 0f33287ed9b413bdff237cf5118c41e4d42fc07e Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 25 Nov 2012 22:13:32 +0100 Subject: [PATCH] Use first element in header --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 95fda2c..418d412 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@ {{ range $key, $value := .Header }} curl ifconfig.co/{{ ToLower $key }} - {{ index $self.Header $key }} + {{ index $self.Header $key 0 }} {{end}} {{end}}