CORS policy in plugin

Hello colleagues!
I have a problem with CORS policy
I wrote plugin for creating pdf-reports using pdfMake library on client side using photo from database
Plugin works well when i try to make pdf using photos I uploaded
But when I (or other admins) are trying to create a pdf based on a photos uploaded by a guy in Kenya - I get a CORS policy error and the plugin can’t get photos by links in db-fields.

Does everybody have any ideas?)))

1 Like