From 4eacd5f54074c6cd73eaef4178c56843ce742445 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 12 Apr 2023 18:50:34 +0200 Subject: Switch to unnested config This is now just not needed. --- templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates.go') diff --git a/templates.go b/templates.go index 6b4fe51..2c3e79c 100644 --- a/templates.go +++ b/templates.go @@ -8,7 +8,7 @@ import ( ) func setupTemplates() *template.Template { - t, err := template.ParseGlob(config.Http.Templates + "/*.html") + t, err := template.ParseGlob(config.Templates + "/*.html") if err != nil { panic(err) } -- cgit v1.2.3-70-g09d2