Gatsby 200 rewrite 301ing and returning CORS error

Hi, I’m using the Gatsby Script API with offMainThread for a couple 3rd party scripts. Everything seems to be working correctly out of the box in development but I seem to be having an issue with the 200 rewrites for production.

I’ve added the 200 rewrite into static _redirects -

However, when building a deploy preview the scripts in question 301 and then have a CORS error.

Deploy Preview -

This is the first time I’ve tried proxying scripts in general so I’m a little over my head here.

The screenshot you’ve shared doesn’t seem to be a valid syntax for the _redirects file. Could you please let us know what URL you wish to rewrite exactly and where?