Local host working fine, production has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
TL;DR
Developers are facing a CORS error in production where the Response to preflight request doesn't pass access control check due to missing 'Access-Control-Allow-Origin' header. Local host is working fine.