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,
|
Title: paste,
|
||||||
Body: []byte(s),
|
Body: []byte(s),
|
||||||
}
|
}
|
||||||
t, err := template.ParseFiles("assets/edit.html")
|
t, err := template.ParseFiles("assets/paste.html")
|
||||||
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