From 1ef32bfe1df875808a95b951917cd09a07197d6b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 2 Apr 2024 11:01:13 +0200 Subject: [PATCH] Change default configuration file --- config.json | 11 ++++------- index.html | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) 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,