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