diff --git a/http/http.go b/http/http.go index 0ec1b228..6afda7d4 100644 --- a/http/http.go +++ b/http/http.go @@ -59,9 +59,5 @@ func NewHandler(storage *storage.Storage, server *settings.Server) (http.Handler public.PathPrefix("/dl").Handler(monkey(publicDlHandler, "/api/public/dl/")).Methods("GET") public.PathPrefix("/share").Handler(monkey(publicShareHandler, "/api/public/share/")).Methods("GET") - if server.BaseURL == "" { - return r, nil - } - return http.StripPrefix(server.BaseURL, r), nil }