mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-08 00:22:19 +01:00
remove comment outed code
This commit is contained in:
@@ -31,7 +31,6 @@ class PluginAssetsServlet extends HttpServlet {
|
||||
val bytes = IOUtils.toByteArray(in)
|
||||
resp.setContentLength(bytes.length)
|
||||
resp.setContentType(FileUtil.getMimeType(path, bytes))
|
||||
//resp.setDateHeader("Last-Modified", lastModified)
|
||||
resp.setHeader("ETag", etag)
|
||||
resp.getOutputStream.write(bytes)
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user