From 243adec8072804329b7712c2ea4930a02a3e5277 Mon Sep 17 00:00:00 2001 From: thinkgo Date: Tue, 8 Jun 2021 19:37:49 +0800 Subject: [PATCH] fix Static content mistake --- routergroup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routergroup.go b/routergroup.go index f146ab56..df94b320 100644 --- a/routergroup.go +++ b/routergroup.go @@ -183,7 +183,7 @@ func (group *RouterGroup) StaticFileFS(relativePath, filepath string, fs http.Fi // of the Router's NotFound handler. // To use the operating system's file system implementation, // use : -// router.Static("/static", "/var/www", http) +// router.Static("/static", "/var/www") func (group *RouterGroup) Static(relativePath, root string) IRoutes { return group.StaticFS(relativePath, Dir(root, false)) }