From f708ce0299f0082faf8a8f275d122321f7cf4f25 Mon Sep 17 00:00:00 2001 From: JessonChan Date: Tue, 22 Sep 2015 12:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E6=9C=89=E8=AE=BE=E7=BD=AE=E7=9A=84?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E7=B1=BB=E5=9E=8B=E6=97=B6=EF=BC=8C=E4=B8=A2?= =?UTF-8?q?=E5=BC=83=E9=BB=98=E8=AE=A4=E7=B1=BB=E5=9E=8B(css,js)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 4751b7e4..c79437b1 100644 --- a/config.go +++ b/config.go @@ -523,6 +523,7 @@ func ParseConfig() (err error) { if sgz := AppConfig.String("StaticExtensionsToGzip"); sgz != "" { extensions := strings.Split(sgz, ",") + StaticExtensionsToGzip = []string{} for _, ext := range extensions { ext = strings.TrimSpace(ext) if ext == "" {