Try to fix TravisCI error

This commit is contained in:
Johny Michelson 2018-11-25 15:13:32 +01:00
parent b6f35cda64
commit 0c180673d6

View File

@ -189,7 +189,7 @@ func (group *RouterGroup) createStaticHandler(relativePath string, fs http.FileS
return func(c *Context) {
if nolisting {
c.Writer.WriteHeader(http.StatusNotFound)
c.handlers = group.engine.allNoRoute
c.index = -1
return