diff --git a/config.json b/config.json index c564e9e..b36c3a9 100644 --- a/config.json +++ b/config.json @@ -40,13 +40,10 @@ "allowStatus": true, "dontCompress": [ "/.*\\.ipxe$/", - "/.*\\.flp$/", - "/.*\\.img$/", - "/.*\\.iso$/", - "/.*\\.png$/", - "/.*\\.jpg$/", - "/.*\\.webp$/", - "/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/", + "/.*\\.(?:jpe?g|png|bmp|tiff|jfif|gif|webp)$/", + "/.*\\.(?:[id]mg|iso|flp)$/", + "/.*\\.(?:zip|rar|bz2|[gb7x]z|lzma|tar)$/", + "/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/" ], "enableIPSpoofing": false, "secure": false, diff --git a/index.html b/index.html index 004fd9e..3642eb5 100644 --- a/index.html +++ b/index.html @@ -65,13 +65,10 @@ "allowStatus": true, "dontCompress": [ "/.*\\.ipxe$/", - "/.*\\.flp$/", - "/.*\\.img$/", - "/.*\\.iso$/", - "/.*\\.png$/", - "/.*\\.jpg$/", - "/.*\\.webp$/", - "/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/", + "/.*\\.(?:jpe?g|png|bmp|tiff|jfif|gif|webp)$/", + "/.*\\.(?:[id]mg|iso|flp)$/", + "/.*\\.(?:zip|rar|bz2|[gb7x]z|lzma|tar)$/", + "/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/" ], "enableIPSpoofing": false, "secure": false,