mirror of
https://github.com/astaxie/beego.git
synced 2024-12-25 13:10:50 +00:00
return when find static path
This commit is contained in:
parent
6ad215a9bb
commit
d4f3dfd527
@ -133,6 +133,7 @@ func serverStaticRouter(ctx *context.Context) {
|
||||
}
|
||||
|
||||
http.ServeContent(ctx.ResponseWriter, ctx.Request, filePath, fileInfo.ModTime(), memZipFile)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user