diff --git a/config/application-local.yml b/config/application-local.yml index 534ec14..4b1a90b 100644 --- a/config/application-local.yml +++ b/config/application-local.yml @@ -2,6 +2,13 @@ server : port : 9276 servlet: context-path: /cmhi + compression: + # 开启响应压缩 + enabled : true + mime-types : + - application/json # RESTful API JSON + # 进行压缩的最小体积 + min-response-size: 1KB # Crypto Configure jasypt :