Browse Source

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

tags/v1.0.0
Lee Burton 5 years ago
committed by Andrea Spacca
parent
commit
fb32a2a85a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go View File

@@ -300,7 +300,7 @@ func (s *Server) postHandler(w http.ResponseWriter, r *http.Request) {
}

relativeURL, _ := url.Parse(path.Join(token, filename))
fmt.Fprint(w, getURL(r).ResolveReference(relativeURL).String())
fmt.Fprintln(w, getURL(r).ResolveReference(relativeURL).String())
}
}
}


Loading…
Cancel
Save