Update CORS policy on web components?
I 'm building a web component and it has been working fine using the script from the branch I was working in but now that I switch over to the 'main ' branch script for production I 'm getting the following error 'has been blocked by CORS policy : No 'Access -Control -Allow -Origin ' header is present on the requested resource ' . How can I resolve this ?

.jpeg/public)