up version

This commit is contained in:
DeniskaRediska committed 2019-10-25 11:50:33 +03:00
1 parent 0edf80ffed
commit a9e03750ab
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
0.0.7
1.0.0
+2 -2
View File
@@ -77,10 +77,10 @@ func Do(ctx *fasthttp.RequestCtx) error {
func getPathWithoutPrefix(path []byte) []byte {
firstFound := false
for key, value := range path {
for i, value := range path {
if value == '/' {
if firstFound {
return path[key+1:]
return path[i+1:]
} else {
firstFound = true
}