fix: disable url rewriting for .webm files (closes #24)

This commit is contained in:
Corentin 2024-10-03 15:20:06 +02:00
parent 0364684184
commit 24e7e362f9
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Options -Indexes -MultiViews
# assets. # assets.
RewriteEngine on RewriteEngine on
RewriteRule \.(css|js|jpg|png|gif|woff|woff2|svg|ico)$ - [NC,L] RewriteRule \.(css|js|jpg|png|gif|woff|woff2|svg|ico|webm)$ - [NC,L]
RewriteCond %{HTTP:Accept-Language} ^(fr) [NC] RewriteCond %{HTTP:Accept-Language} ^(fr) [NC]
RewriteCond %{REQUEST_URI} !^/(fr|en)/ RewriteCond %{REQUEST_URI} !^/(fr|en)/