CORS error only with www version

What is the name of the domain?

www.nubank.com.br

What is the error message?

CORs error

What is the issue you’re encountering

I’m facing a CORS problem when the user previously accesses the site without www, and them access the site with www. The error is only resolved when we clear the browser cache, and access again the www version.

What steps have you taken to resolve the issue?

Cleanup browser cache

What are the steps to reproduce the issue?

Screenshot of the error

I cannot reproduce, however there are some issues still and even now when you’re not using Cloudflare nameservers:


slika