Logo Image Not Loading

Invoice Ninja Version 5.8.51-C157 running in docker behind a proxy
Logo is not appearing in emails, client portal, or dashboard. Image is still present in generated PDFs.

Chrome console error when trying to load the logo image:
Access to XMLHttpRequest at ‘https://mydomain/storage/folder/logo-image.png’ from origin ‘https://mydomain’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Failed to load resource: net::ERR_FAILED

Issue has appeared within the last week or so. Hoping someone can provide some insight on what might be causing the issue.
Thanks!

Hi,

Did the issue start after an upgrade or did anything else change?

CORS policy issue blocking the logo from loading outside its origin. Have you tried adding the Access-Control-Allow-Origin header in your server or proxy settings?
If you’re using Nginx or Apache, you might need to explicitly allow requests from your domain. Also, since it started happening recently, maybe check if there were any updates or config changes that could have affected permissions.