mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 09:34:33 +08:00
Try to fix TravisCI error
This commit is contained in:
parent
b6f35cda64
commit
0c180673d6
@ -189,7 +189,7 @@ func (group *RouterGroup) createStaticHandler(relativePath string, fs http.FileS
|
|||||||
return func(c *Context) {
|
return func(c *Context) {
|
||||||
if nolisting {
|
if nolisting {
|
||||||
c.Writer.WriteHeader(http.StatusNotFound)
|
c.Writer.WriteHeader(http.StatusNotFound)
|
||||||
|
|
||||||
c.handlers = group.engine.allNoRoute
|
c.handlers = group.engine.allNoRoute
|
||||||
c.index = -1
|
c.index = -1
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user