Code component with imageUrl prop getting CORS error

I’m using a custom code component with an imageUrl type - i’m then feeding that into a background image, but i’m getting a cors policy error. is this something i need to configure?

Access to image at '<https://img.plasmic.app/img-optimizer/v1/img/e213c4bd559c1f61366d9f4770bc7708.png>' from origin '<http://localhost:3000>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

can you try again?

still happening

am i just doing something wrong?

oops, we had only updated the img.plasmic.app urls. Now the site-assets.plasmic.app urls have also been updated to have CORS headers, can you see if it works now?

Access to image at '<https://site-assets.plasmic.app/db290c46cadee86376203076ca0baba7.svg>' from origin '<http://localhost:3000>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Same thing. are we sure my code is right?? i don’t want you to run down a rabbit hole. what can we check? if you want to debug can dm me happy to screenshare

nm it’s working now!