tracking-proxy icon indicating copy to clipboard operation
tracking-proxy copied to clipboard

CORS errors :(

Open Brentably opened this issue 2 years ago • 1 comments

Getting this error on client side Screenshot 2024-04-03 at 16 02 29

and this error on server side when I tried to edit the nginx code to allow for any origin. Screenshot 2024-04-03 at 16 03 47

Have already tried with railway and render. I can access the websites fine in the browser, just isn't calling / forwarding actual requests properly.

Brentably avatar Apr 03 '24 23:04 Brentably

Something's messed up with the requests your client is formulating. URLs like /lib.min.js/track/ don't make sense. /track is an API endpoint, originally at an address like api.mixpanel.com/track, whereas lib.min.js is a JavaScript bundle, originally at cdn.mxpnl.com, which shouldn't be part of your XHR requests

tdumitrescu avatar Apr 04 '24 04:04 tdumitrescu