GoTrue API now has CORS error

Hi, @DecentralisedTech, I think this is a side effect of this change:

Would you please change the requests to https://earnxapp.netlify.app/.netlify/identity/token and let us know if that resolves the issue?