Skip to content

Commit d2b8a7f

Browse files
authored
Fix Static files route not working
1 parent ceffc10 commit d2b8a7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

echo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ func (common) static(prefix, root string, get func(string, HandlerFunc, ...Middl
498498
}
499499
return c.File(name)
500500
}
501+
get(prefix, h)
501502
if prefix == "/" {
502503
return get(prefix+"*", h)
503504
}

0 commit comments

Comments
 (0)