diff --git a/internal/http/handlers.go b/internal/http/handlers.go index d774692..b4a5a90 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -142,7 +142,7 @@ func (h *UploadHandlers) Upload(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusFound) } - downloadURL := path.Join("/f", fSaltedHash, fHandler.Filename) + downloadURL := path.Join("/", fSaltedHash, fHandler.Filename) downloadURLParsed, _ := url.Parse(downloadURL) _, scheme := utils.NetworkType(r.Host)