1
0
mirror of https://github.com/dutchcoders/transfer.sh.git synced 2020-11-18 19:53:40 -08:00

Add newline between URLs for multi-upload (#156)

This commit is contained in:
Lee Burton 2018-09-15 04:24:11 -07:00 committed by Andrea Spacca
parent f47ce48ecf
commit fb32a2a85a

View File

@ -300,7 +300,7 @@ func (s *Server) postHandler(w http.ResponseWriter, r *http.Request) {
} }
relativeURL, _ := url.Parse(path.Join(token, filename)) relativeURL, _ := url.Parse(path.Join(token, filename))
fmt.Fprint(w, getURL(r).ResolveReference(relativeURL).String()) fmt.Fprintln(w, getURL(r).ResolveReference(relativeURL).String())
} }
} }
} }