Commit 2e991c7c authored by Kevin Lyda's avatar Kevin Lyda 💬

Look in the right place for index.html

parent 35424b70
Pipeline #1334 passed with stage
in 2 minutes and 6 seconds
......@@ -62,7 +62,7 @@ func (p Pages) indexHandler(w http.ResponseWriter, r *http.Request) {
indexPg.Serial = "ERROR"
}
index, _ := FSString(false, "index.html")
index, _ := FSString(false, "/templates/index.html")
t, err := template.New("index.html").Parse(index)
if err != nil {
log.Printf("Template error: %s\n", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment