Skip to content

Commit

Permalink
Add video file extensions to the default skip list (#431)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
jribbens and adamchainz authored Nov 2, 2022
1 parent 0aab05b commit 612ab31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/whitenoise/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ class Compressor:
# Fonts
"woff",
"woff2",
# Video
"3gp",
"3gpp",
"asf",
"avi",
"m4v",
"mov",
"mp4",
"mpeg",
"mpg",
"webm",
"wmv",
)

def __init__(
Expand Down

0 comments on commit 612ab31

Please sign in to comment.