Skip to content

Commit

Permalink
Allow for webp extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jan 28, 2025
1 parent 495e560 commit 9a14cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion myconext-gui/docker/conf/000-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RewriteEngine on
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.(js|css)(\.map)?$
RewriteCond %{REQUEST_URI} !\.svg$
RewriteCond %{REQUEST_URI} !\.webp$
RewriteCond %{REQUEST_URI} !\.png$
RewriteCond %{REQUEST_URI} !\.ico$
RewriteCond %{REQUEST_URI} !\.woff$
Expand Down Expand Up @@ -72,7 +73,7 @@ DocumentRoot "/var/www"
</Location>

# Svelte resources
<Location ~ "(.*)(eot|svg|ttf|woff2|woff|js|js\.map|css|css\.map|png|jpg|ico)$">
<Location ~ "(.*)(eot|svg|webp|ttf|woff2|woff|js|js\.map|css|css\.map|png|jpg|ico)$">
Require all granted
</Location>

Expand Down

0 comments on commit 9a14cef

Please sign in to comment.