mirror of
https://github.com/astaxie/beego.git
synced 2025-06-21 20:30:17 +00:00
return when find static path
This commit is contained in:
@ -133,6 +133,7 @@ func serverStaticRouter(ctx *context.Context) {
|
||||
}
|
||||
|
||||
http.ServeContent(ctx.ResponseWriter, ctx.Request, filePath, fileInfo.ModTime(), memZipFile)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user