From 83e466bf9d5edb62db1e1a5b500fc607f49d4d19 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Tue, 1 Mar 2022 21:40:59 +0100 Subject: [PATCH] fix: Add newline after URL --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 755b840..874476f 100644 --- a/main.go +++ b/main.go @@ -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")) }