function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
abhishek gupta 299abhishek gupta 299 

Getting cors error when using CMS footer salesforce community

Access to XMLHttpRequest at 'source Url' from origin 'SF instance url' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
VinayVinay (Salesforce Developers) 
Hi Abhishek,

CMS Connect uses Cross-Origin Resource Sharing (CORS) to access external content. Make sure to add Community Host to the list of trusted hosts in the CORS header in your CMS system.

https://meighanrockssf.com/2018/01/25/cms-connect-for-wordpress/

Thanks,
abhishek gupta 299abhishek gupta 299

Could you please guide me how i can  add Community Host to the list of trusted hosts in the CORS header in your CMS system

I am using CMS (HTML)

MeighanSFMeighanSF
Thanks for the link share Vinay!