Fixup deletion link

This commit is contained in:
Eliot Whalan 2016-06-23 13:53:08 +10:00
parent 19a2e58708
commit a57664b07c
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func saveHandler(w http.ResponseWriter, r *http.Request) {
case "html":
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, "<p><b>URL</b>: <a href='"+b.URL+"'>"+b.URL+"</a></p>")
io.WriteString(w, "<p><b>Delete Key</b>: <a href='"+b.URL+"/p/"+b.DELKEY+"'>"+b.DELKEY+"</a></p>")
io.WriteString(w, "<p><b>Delete Key</b>: <a href='"+ADDRESS+"/del/"+b.ID+b.DELKEY+"'>"+b.DELKEY+"</a></p>")
default:
io.WriteString(w, b.URL+"\n")