I am not sure which hosting provider you use.
I use Siteground and had to deal with a CORS issue myself.
Siteground pointed me to this article:

-...