mirror of
https://github.com/mpolden/echoip.git
synced 2025-01-27 10:25:02 +01:00
Use first element in header
This commit is contained in:
parent
a03c16dfd8
commit
0f33287ed9
@ -54,7 +54,7 @@
|
||||
{{ range $key, $value := .Header }}
|
||||
<tr>
|
||||
<td><code><span class="command">curl</span> ifconfig.co/{{ ToLower $key }}</code></td>
|
||||
<td class="response">{{ index $self.Header $key }}</td>
|
||||
<td class="response">{{ index $self.Header $key 0 }}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user