CORS error for subscription in Netlify website

So I would like to add the subscription form to our website hosted in Netlify (React, Next.JS) that would allow adding new subscribers to the Ghost platform. However, making a post request to add a new subscriber works fine on localhost but returns CORs ERROR on deployed Netlify host. Stack used (React, Next js).

Error CORS