Add in backend .htaccess
# CORS for images (add this at the very top)
<FilesMatch "\.(jpg|jpeg|png|webp|gif)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine On
# ... your current rules ...
</IfModule>
Top comments (0)