forked from svrjs/svrjs
Added more file formats to be excluded from compression
This commit is contained in:
parent
e3c1dcea0e
commit
b027443c47
2 changed files with 20 additions and 2 deletions
11
config.json
11
config.json
|
@ -40,11 +40,20 @@
|
|||
"allowStatus": true,
|
||||
"dontCompress": [
|
||||
"/.*\\.ipxe$/",
|
||||
"/.*\\.flp$/",
|
||||
"/.*\\.img$/",
|
||||
"/.*\\.iso$/",
|
||||
"/.*\\.png$/",
|
||||
"/.*\\.jpg$/",
|
||||
"/.*\\.webp$/"
|
||||
"/.*\\.webp$/",
|
||||
"/.*\\.mp3$/",
|
||||
"/.*\\.mp4$/",
|
||||
"/.*\\.mov$/",
|
||||
"/.*\\.avi$/",
|
||||
"/.*\\.webp$/",
|
||||
"/.*\\.webm$/",
|
||||
"/.*\\.ogg$/",
|
||||
"/.*\\.ogv$/"
|
||||
],
|
||||
"enableIPSpoofing": false,
|
||||
"secure": false,
|
||||
|
|
11
index.html
11
index.html
|
@ -65,11 +65,20 @@
|
|||
"allowStatus": true,
|
||||
"dontCompress": [
|
||||
"/.*\\.ipxe$/",
|
||||
"/.*\\.flp$/",
|
||||
"/.*\\.img$/",
|
||||
"/.*\\.iso$/",
|
||||
"/.*\\.png$/",
|
||||
"/.*\\.jpg$/",
|
||||
"/.*\\.webp$/"
|
||||
"/.*\\.webp$/",
|
||||
"/.*\\.mp3$/",
|
||||
"/.*\\.mp4$/",
|
||||
"/.*\\.mov$/",
|
||||
"/.*\\.avi$/",
|
||||
"/.*\\.webp$/",
|
||||
"/.*\\.webm$/",
|
||||
"/.*\\.ogg$/",
|
||||
"/.*\\.ogv$/"
|
||||
],
|
||||
"enableIPSpoofing": false,
|
||||
"secure": false,
|
||||
|
|
Reference in a new issue