1
0
mirror of https://github.com/labstack/echo.git synced 2025-12-19 23:52:19 +02:00

reverts #1671 changes

This commit is contained in:
toimtoimtoim
2020-12-17 02:20:26 +02:00
parent 655596b1b9
commit 547ca5ca1e
2 changed files with 0 additions and 44 deletions

View File

@@ -500,7 +500,6 @@ func (common) static(prefix, root string, get func(string, HandlerFunc, ...Middl
}
return c.File(name)
}
get(prefix, h)
if prefix == "/" {
return get(prefix+"*", h)
}