From 4dbba7686719bb014f65e0d4e3d74fae5c2a8f14 Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sat, 14 Nov 2020 15:22:39 +0100 Subject: [PATCH] Almost there --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 6e4347d..a9c7409 100644 --- a/server.go +++ b/server.go @@ -38,7 +38,7 @@ func showCharts(w http.ResponseWriter, r *http.Request) { } templater, err := template.ParseFiles("webapp/dist/charts.html") if internalErrorOnErr(fmt.Errorf("couldn't parse the template: %w", err), w, r) { return } - err = templater.Execute(w, ROOT_URL + "/show") + err = templater.Execute(w, ROOT_URL) internalErrorOnErr(err, w, r) }