I'm having quite a basic issue I suppose. I've set up CraftCMS to be reachable via Apache Virtual Host
http://craftapi and am using Element API with routes such as
On a separate Virtual Host
http://mysite I've set up a react-static install which should fetch the JSON using Axios from
http://craftapi/projects?page=1 but it throws after
Importing routes from directory... with Error
socket hang up.
Am I not allowed to fetch from a different domain? Even if it is hosted on the same server?