接口开启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: session:
cookie: cookie:
http-only: true http-only: true
compression:
enabled: true
mime-types: application/json
spring: spring:
# 环境 dev|test|prod|show # 环境 dev|test|prod|show
profiles: profiles: