CORS issue on Preview, but not live site

where would I change this? This just started happening so it must of been a recent call I’ve added. Unfortunately, I’m a novice developer and wildly unorganized so any advice or direction on places to start would be much appreciated!