This morning, we started receiving the error below on all of our graphql API requests:
Access to fetch at 'https://<registry name>.cdn.prismic.io/graphql?query=<query>' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The request headers:
authority: <registry name>.cdn.prismic.io
method: GET
path: /graphql?query=<query>
scheme: https
accept: /*
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
authorization: Token <token>
cache-control: no-cache
content-type: application/json
origin: http://localhost:3000
pragma: no-cache
prismic-ref: YLAdShAAACQAZQ2D
referer: http://localhost:3000/
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"
sec-ch-ua-mobile: ?0
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36
The error result is the same for API requests made from our local dev environments, our staging server, and our production server. Please advise.
