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 == "" {