Correct file name
This commit is contained in:
parent
588f5b3510
commit
cb22172e25
2
main.go
2
main.go
|
@ -226,7 +226,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
|
|||
Title: paste,
|
||||
Body: []byte(s),
|
||||
}
|
||||
t, err := template.ParseFiles("assets/edit.html")
|
||||
t, err := template.ParseFiles("assets/paste.html")
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue