diff --git a/main.go b/main.go index 83cc06a..0530e76 100644 --- a/main.go +++ b/main.go @@ -166,11 +166,11 @@ func saveHandler(w http.ResponseWriter, r *http.Request) { w.Write(x) case "html": w.Header().Set("Content-Type", "text/html") - io.WriteString(w, "

ID

"+b.ID+"


") - io.WriteString(w, "

hash

"+string(b.HASH)+"


") - io.WriteString(w, "

URL

"+b.URL+"
") - io.WriteString(w, "

hash

"+string(b.SIZE)+"


") - io.WriteString(w, ""+b.DELKEY+"") + io.WriteString(w, "

ID: "+b.ID+"


") + io.WriteString(w, "

Hash"+string(b.HASH)+"


") + io.WriteString(w, "

URL"+b.URL+"


") + io.WriteString(w, "

Size"+string(b.SIZE)+"


") + io.WriteString(w, "

Delete Key"+b.DELKEY+"

") default: io.WriteString(w, b.URL+"\n")