Request header field prismic-ref is not allowed by Access-Control-Allow-Headers in preflight response

The error I get is:
Request header field Prismic-ref is not allowed by Access-Control-Allow-Headers.

It works in the API browser but not from the client. If you look at the header I sent I am including the prismic-ref.

This was working mid last week and no changes have been made around this functionality for a long time.

Any help you could provide would be great! I spent all day Friday debugging this without any luck. Weird thing is we have another Prismic account that is currently working fine that uses the same code.

I've also seen another person having this exact problem that seemed to start happening at the exact same time:
https://community.prismic.io/t/access-has-been-blocked-by-cors-policy/2389/6