From dd0bc3e6e8a04f0d54a5a8746f97c1a3d2c0eaeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Sat, 27 Aug 2022 14:36:21 +0800 Subject: [PATCH] mod: gh-pages gzip --- .env.github | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.github b/.env.github index beca876..c33fb36 100644 --- a/.env.github +++ b/.env.github @@ -10,4 +10,10 @@ VITE_USE_HASH = true VITE_USE_MOCK = true # base api -VITE_BASE_API = '/api' \ No newline at end of file +VITE_BASE_API = '/api' + +# 是否启用压缩 +VITE_USE_COMPRESS = true + +# 压缩类型 +VITE_COMPRESS_TYPE = gzip \ No newline at end of file