Hey Guys,
I am trying to run this example
https://support.shapediver.com/hc/en-us/articles/360014884512-A-first-simple-example
on standard html/js. This is the error I am getting. Any idea how to resolve it?
Thank you for your help in advance!
Regards,
Jonas Blazinskas
Try Googling “javascript cors policy” - always a good idea to Google software error messages!
Cross-Origin Resource Sharing (CORS)
Yeah I did that even before, and I installed this plugin called CORS Unblock. But I am still getting same error.
snabela
(Alexander Schiftner)
4
You are using local port 5050, probably for local testing. Our backend is configured to send the appropriate CORS headers for these local ports only:
Use one of them and it should work.
1 Like
I am using visual studio code and extension called live server to launch the html
8080 works tho! Thank you!