I needed to enable cors, so i followed this guide:
https://support.plesk.com/hc/en-us/articles/115001338265-How-to-set-up-CORS-cross-origin-resource-sharing-in-Plesk-for-Linux-
I am adding the additional apache directives to the 'additional directives for HTTPS' as Header set...