I’m getting the same issue. Working on the localhost was fine when testing out like Nemanja did.
I’m having trouble linking it up once the site is actually live. Not sure what URL I need to include and if a port is required as well.
Other posts on Stack Overflow mention including proper ‘Access-Control-Allow-Origin’ headers. Just not sure how to set that up :(