fix: prefix handling on http router

This commit is contained in:
Ramires Viana committed 2021-03-17 17:54:25 +00:00
1 parent 99787287bb
commit 93a35ad251
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -73,5 +73,5 @@ func handle(fn handleFunc, prefix string, store *storage.Storage, server *settin
}
})
return http.StripPrefix(prefix, handler)
return stripPrefix(prefix, handler)
}