新增使用Gzip解压缩静态文件地址

This commit is contained in:
RuoYi
2021-12-20 14:47:53 +08:00
parent 5621ea4a29
commit 6cf9c3ffb6
3 changed files with 3 additions and 2 deletions

View File

@ -8,4 +8,4 @@ VITE_APP_ENV = 'staging'
VITE_APP_BASE_API = '/stage-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip,brotli
VITE_BUILD_COMPRESS = gzip