From 55e7d335ab22fc1a67c9b894a0bcb8dd30553ffb Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 9 Jan 2019 07:52:13 +0000 Subject: [PATCH] fix: same as previousc commit License: MIT Signed-off-by: Henrique Dias --- http/data.go | 4 ---- 1 file changed, 4 deletions(-) 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) }