revert println

Signed-off-by: Adam Crowder <adam@adamcrowder.net>
This commit is contained in:
Adam Crowder 2020-05-08 11:49:21 -07:00
parent f366e8217e
commit d830bf1afc
No known key found for this signature in database
GPG key ID: CA63AD7FC16C6CC0

View file

@ -502,7 +502,7 @@ func (s *Server) putHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("X-Url-Delete", resolveURL(r, deleteURL, s.proxyPort)) w.Header().Set("X-Url-Delete", resolveURL(r, deleteURL, s.proxyPort))
fmt.Fprintln(w, resolveURL(r, relativeURL, s.proxyPort)) fmt.Fprint(w, resolveURL(r, relativeURL, s.proxyPort))
} }
func resolveURL(r *http.Request, u *url.URL, proxyPort string) string { func resolveURL(r *http.Request, u *url.URL, proxyPort string) string {