fix: Add newline after URL

This commit is contained in:
ptrcnull 2022-03-01 21:40:59 +01:00
parent e4813daf4d
commit 83e466bf9d
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -76,5 +76,5 @@ func (h *Handler) ServeHTTP(wr http.ResponseWriter, req *http.Request) {
}
log.Println("uploaded as", name)
wr.Write([]byte(h.Domain + "/" + name))
wr.Write([]byte(h.Domain + "/" + name + "\n"))
}