So it is possible to use an external URL, but you need to be able to configure the CORS header in the response. The repsonse configuratio is probably not under your control on github.io. However if you put your JSON file somewhere where you can configure the response to contain the CORS header it will work.
Best,
Marco
Andrea Borruso
unread,
Apr 15, 2020, 7:54:43 AM4/15/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vega-js
Hi Marco,
and thank you.
If I'm not wrong I had tried with a github source and it worked, and I assumed gist had the same settings too.
And I have not looked to CORS :(
Best regards
Roy I
unread,
Apr 17, 2020, 9:37:04 AM4/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message