1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 00:10:54 +00:00

return when find static path

This commit is contained in:
JessonChan 2015-09-22 14:15:41 +08:00
parent 6ad215a9bb
commit d4f3dfd527

View File

@ -133,6 +133,7 @@ func serverStaticRouter(ctx *context.Context) {
} }
http.ServeContent(ctx.ResponseWriter, ctx.Request, filePath, fileInfo.ModTime(), memZipFile) http.ServeContent(ctx.ResponseWriter, ctx.Request, filePath, fileInfo.ModTime(), memZipFile)
return
} }
} }
} }