Correct file name
This commit is contained in:
parent
4ddc5c59f5
commit
0f156c1789
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