Complete addition of GET option. Build container.

This commit is contained in:
Fred Boniface
2023-09-08 11:43:22 +01:00
parent 99a1a25254
commit 9007e7e916
4 changed files with 5 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ func helpTemplate(w http.ResponseWriter, r *http.Request) {
BarcodeOptions: barcodeOptions,
}
tmpl, err := template.ParseFiles("templates/base.html", "templates/help.html")
tmpl, err := template.ParseFiles("./templates/base.html", "./templates/help.html")
if err != nil {
fmt.Println("Error parsing templates: ", err)
http.Error(w, "Unable to parse templates", 500)