接口开启gzip压缩

This commit is contained in:
wangliwen 2022-08-24 18:53:52 +08:00
parent 738208ba2e
commit 515ad62bd6
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ server:
session:
cookie:
http-only: true
compression:
enabled: true
mime-types: application/json
spring:
# 环境 dev|test|prod|show
profiles: