CORS errors in production but locally works flawlessly

hi there, first, let me ask a few q’s - are you trying to run mongoose, or mongo, or spinning up a server of some kind on netlify?

that’s not possible, actually -

Here is a good summary of what you can and can not do on Netlify you might find helpful: