From d4f3dfd5274d1b5d57f76486ec48003b95f622df Mon Sep 17 00:00:00 2001 From: JessonChan Date: Tue, 22 Sep 2015 14:15:41 +0800 Subject: [PATCH] return when find static path --- staticfile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/staticfile.go b/staticfile.go index 1c9d775a..e1fc4f73 100644 --- a/staticfile.go +++ b/staticfile.go @@ -133,6 +133,7 @@ func serverStaticRouter(ctx *context.Context) { } http.ServeContent(ctx.ResponseWriter, ctx.Request, filePath, fileInfo.ModTime(), memZipFile) + return } } }