mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 04:57:27 +08:00
[DIVA] Add missing base64
This commit is contained in:
@@ -43,6 +43,7 @@ public class DivaCompressionFilter extends OncePerRequestFilter {
|
||||
filterChain.doFilter(requestWrapper, responseWrapper);
|
||||
byte[] respSrc = responseWrapper.toByteArray();
|
||||
byte[] respResult = Compression.compress(respSrc);
|
||||
respResult = Base64.getMimeEncoder().encode(respResult);
|
||||
|
||||
|
||||
response.setContentLength(respResult.length);
|
||||
|
||||
Reference in New Issue
Block a user