Static.cdn.prismic.io Cross Origin Resource Policy

Hello!

I am working on a project that utilizes javascript's SharedArrayBuffer functionality. This requires setting the following headers:

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

It seems that there is no Cross-Origin-Resource-Policy: cross-origin on any of the responses from static.cdn.prismic.io. This is causing an error to be logged to the console:

GET https://static.cdn.prismic.io/prismic.js?new=true&repo=<REPO_NAME> net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200

Is there anyway around this? Maybe I am doing something wrong on my end?

Thanks for any help!

Hi Samuel,

Welcome to the community!

Unfortunately, there is no way around this, I believe, as this is necessary to pass and receive the cookie data required to generate the previews.

Thanks.