I have built a website using Cockpit CMS and Angular. When I visit the website in a web browser all API calls return data. But when my Angular website is indexed my Google all XHR API calls fail. I assume it is because Cockpit is not indexable.
How do I change this?
What is the message the api calls fail with?
Without you providing us with some more information we won’t be able to point you in any direction.
Lately I don’t think the failures are caused by cockpit - I could not think of any cenario in which cockpit could be to blame for such a malfunction you are describing.