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. --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handler.go') diff --git a/handler.go b/handler.go index a480ce3..e197be7 100644 --- a/handler.go +++ b/handler.go @@ -209,6 +209,6 @@ func addRecipesGet(w http.ResponseWriter, r *http.Request) { func staticGet(w http.ResponseWriter, r *http.Request, filename string) { - path := filepath.Join(config.Http.Static, filename) + path := filepath.Join(config.Static, filename) http.ServeFile(w, r, path) } -- cgit v1.2.3-70-g09d2