This commit is contained in:
Mikaël Cluseau
2026-01-26 12:08:54 +01:00
parent 0dbab431a0
commit 4ab136be68

View File

@ -190,8 +190,7 @@ func (ctx *renderContext) TemplateFuncs() map[string]any {
for name, method := range map[string]any{ for name, method := range map[string]any{
"base64": func(input string) string { "base64": func(input string) string {
enc := base64.StdEncoding.WithPadding(base64.NoPadding) return b64.EncodeToString([]byte(input))
return enc.EncodeToString([]byte(input))
}, },
"host_ip": func() (s string) { "host_ip": func() (s string) {