CORS problems in Chrome

Copper Contributor

Hi, I have taken one of the SPFx webparts in  spfx-40-fantastics the newsCarousel and implemented it in our SharePoint 2019 onprem farm.

No problems building, shipping or deploying it. It works as expected on the server side, and in IE and Edge. It also works in the same domain in Chrome. Example:
The appcatalog is, the intranett is (just as an example)

However the farm is set up with hostnamed site collections, and we have a site called When adding the webpart to this site. I see CORS errors in the console, and message in the webpart about certificate.


So I am pretty sure this is Chrome and CORS policy. However since I am not really a developer, just like thinkering with stuff. I am not sure how to buypass this. I have found a lot of articles, but I am not sure how to implement them like step by step (for dev dummies).


If someone could give me some advice I would be grateful.

0 Replies