解决 druid 请求已响应bug

This commit is contained in:
疯狂的狮子li 2020-09-25 12:05:41 +08:00
parent ef4731e3ff
commit 3c703e4189
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class DruidConfig
{ {
chain.doFilter(request, response); chain.doFilter(request, response);
// 重置缓冲区,响应头不会被重置 // 重置缓冲区,响应头不会被重置
response.resetBuffer(); // response.resetBuffer();
// 获取common.js // 获取common.js
String text = Utils.readFromResource(filePath); String text = Utils.readFromResource(filePath);
// 正则替换banner, 除去底部的广告信息 // 正则替换banner, 除去底部的广告信息