linting
This commit is contained in:
parent
cd7352ad9b
commit
e2272e7786
1 changed files with 22 additions and 10 deletions
32
.htaccess
32
.htaccess
|
@ -12,7 +12,7 @@
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine On
|
||||||
|
|
||||||
# rather than link to images/ha/hash and have an ugly filename,
|
# rather than link to images/ha/hash and have an ugly filename,
|
||||||
# we link to images/hash/tags.ext; mod_rewrite splits things so
|
# we link to images/hash/tags.ext; mod_rewrite splits things so
|
||||||
|
@ -37,19 +37,31 @@
|
||||||
#ExpiresByType text/plain "now"
|
#ExpiresByType text/plain "now"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<ifmodule mod_deflate.c>
|
<IfModule mod_deflate.c>
|
||||||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
|
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
|
||||||
AddOutputFilterByType DEFLATE application/x-javascript application/javascript
|
AddOutputFilterByType DEFLATE application/x-javascript application/javascript
|
||||||
</ifmodule>
|
</IfModule>
|
||||||
|
|
||||||
AddType audio/mp4 f4a f4b m4a
|
#EXT: handle_pixel
|
||||||
AddType audio/ogg oga ogg opus
|
AddType image/jpeg jpg jpeg
|
||||||
AddType image/jpeg jpg jpeg
|
AddType image/gif gif
|
||||||
AddType image/bmp bmp
|
AddType image/png png
|
||||||
AddType image/svg+xml svg svgz
|
|
||||||
|
#EXT: handle_ico
|
||||||
AddType image/x-icon ico ani cur
|
AddType image/x-icon ico ani cur
|
||||||
AddType image/webp webp
|
|
||||||
|
#EXT: handle_flash
|
||||||
|
AddType application/x-shockwave-flash swf
|
||||||
|
|
||||||
|
#EXT: handle_mp3
|
||||||
|
AddType audio/mpeg mp3
|
||||||
|
|
||||||
|
#EXT: handle_svg
|
||||||
|
AddType image/svg+xml svg svgz
|
||||||
|
|
||||||
|
#EXT: handle_video
|
||||||
|
AddType video/x-flv flv
|
||||||
AddType video/mp4 f4v f4p m4v mp4
|
AddType video/mp4 f4v f4p m4v mp4
|
||||||
|
AddType audio/mp4 f4a f4b m4a
|
||||||
AddType video/ogg ogv
|
AddType video/ogg ogv
|
||||||
AddType video/webm webm
|
AddType video/webm webm
|
||||||
AddType video/x-flv flv
|
|
Reference in a new issue