mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-26 22:20:18 +01:00
revert println
Signed-off-by: Adam Crowder <adam@adamcrowder.net>
This commit is contained in:
parent
f366e8217e
commit
d830bf1afc
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue