Complete addition of GET option. Build container.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user