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

This commit is contained in:
RuoYi
2021-12-20 14:48:12 +08:00
parent e03332cd15
commit fdabb1fcd1
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