diff --git a/http/data.go b/http/data.go index 48cf0a4b..2287afec 100644 --- a/http/data.go +++ b/http/data.go @@ -64,9 +64,5 @@ func handle(fn handleFunc, prefix string, storage *storage.Storage, server *sett } }) - if prefix == "" { - return handler - } - return http.StripPrefix(prefix, handler) }