Skip to content
Snippets Groups Projects
Commit 2e991c7c authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Look in the right place for index.html

parent 35424b70
Branches master
No related tags found
No related merge requests found
Pipeline #
...@@ -62,7 +62,7 @@ func (p Pages) indexHandler(w http.ResponseWriter, r *http.Request) { ...@@ -62,7 +62,7 @@ func (p Pages) indexHandler(w http.ResponseWriter, r *http.Request) {
indexPg.Serial = "ERROR" indexPg.Serial = "ERROR"
} }
index, _ := FSString(false, "index.html") index, _ := FSString(false, "/templates/index.html")
t, err := template.New("index.html").Parse(index) t, err := template.New("index.html").Parse(index)
if err != nil { if err != nil {
log.Printf("Template error: %s\n", err) log.Printf("Template error: %s\n", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment