Browse Source

update server/src/main/java/cn/keking/web/filter/TrustHostFilter.java.
修复开启信任站点 继续执行

Signed-off-by: 高雄 <admin@cxcp.com>

高雄 2 years ago
parent
commit
98a7217b10
1 changed files with 3 additions and 1 deletions
  1. 3 1
      server/src/main/java/cn/keking/web/filter/TrustHostFilter.java

+ 3 - 1
server/src/main/java/cn/keking/web/filter/TrustHostFilter.java

@@ -42,7 +42,9 @@ public class TrustHostFilter implements Filter {
             response.getWriter().write(html);
             response.getWriter().close();
         }
-        chain.doFilter(request, response);
+        else {
+            chain.doFilter(request, response);
+        }
     }
 
     @Override