Skip to content

Commit

Permalink
Merge pull request #100 from comandrei/gzip_svg_s3_boto
Browse files Browse the repository at this point in the history
Enable GZipping of SVG files automatically in S3Boto Storage
  • Loading branch information
jschneier committed Jan 11, 2016
2 parents 8ec6b32 + aa54cf4 commit 97b8015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storages/backends/s3boto.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class S3BotoStorage(Storage):
'text/javascript',
'application/javascript',
'application/x-javascript',
'image/svg+xml',
))
url_protocol = setting('AWS_S3_URL_PROTOCOL', 'http:')
host = setting('AWS_S3_HOST', S3Connection.DefaultHost)
Expand Down

0 comments on commit 97b8015

Please sign in to comment.