diff --git a/frontend/templates/funcs.go b/frontend/templates/funcs.go index 16f265e..7320b38 100644 --- a/frontend/templates/funcs.go +++ b/frontend/templates/funcs.go @@ -10,6 +10,9 @@ func UseFuncs() template.FuncMap { "sub": func(i int) int { return i - 1 }, + "getJSAppURL": func() string { + return URLJSApp + }, "getIndexURL": func() string { return URLIndex }, diff --git a/frontend/templates/head.go.tmpl b/frontend/templates/head.go.tmpl index 10dac4e..4c805e2 100644 --- a/frontend/templates/head.go.tmpl +++ b/frontend/templates/head.go.tmpl @@ -4,4 +4,6 @@