Correct template name
This commit is contained in:
parent
c04cb8aabb
commit
b7365e1242
2
main.go
2
main.go
|
@ -242,7 +242,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
|
|||
Raw: link,
|
||||
Home: ADDRESS,
|
||||
}
|
||||
err := templates.ExecuteTemplate(w, "assets/paste.html", p)
|
||||
err := templates.ExecuteTemplate(w, "paste.html", p)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue