Make blocky config a bit more stable by removing templating based on whami

This commit is contained in:
IamTheFij 2022-06-23 20:11:28 -07:00
parent 3d6b405ab6
commit 617d4ae676
1 changed files with 0 additions and 8 deletions

View File

@ -51,14 +51,6 @@ customDNS:
{{- end -}}
{{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }}
{{ with service "whoami" -}}
{{- $last := len . | subtract 1 -}}
{{- $services := . -}}
whoami: {{ range $i := loop $last -}}
{{- with index $services $i }}{{ .Address }},{{ end -}}
{{- end -}}
{{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }}
# Other mappings
{{ keyOrDefault "blocky/mappings" "# None" | indent 4 }}