Access-Control-Allow-Origin: * in assets


Would it be possible to add Access-Control-Allow-Origin: * header to javascript assets that are used by browser. It will help us to see errors in these third-party scripts. Currently we can see only Script error in our logs and Datadog advises to do these steps to reveal the errors. For example, google analytics scripts do the same thing.

As a third-party script from Prismic I see these 2 files:

Hey @tech.microsites.plat, have you checked out this similar post?

Hey Pau, in this case it's more about assets like prismic.min.js and toolbar.js files. In the post you sent I see discussions about graphQL requests.
My guess is that this case will be easy since it's a matter of adding one header to these static assets.