diff --git a/public/thumbnails/.htaccess b/public/thumbnails/.htaccess new file mode 100644 index 0000000..46a1041 --- /dev/null +++ b/public/thumbnails/.htaccess @@ -0,0 +1,5 @@ +RewriteEngine On +# Check if the requested file does not exist +RewriteCond %{REQUEST_FILENAME} !-f +# If it doesn't exist, serve the unknown.webp file +RewriteRule ^.*$ /path/to/unknown.webp [L]