fix cross-domain files for all carto.js
Closed this issue · 0 comments
andy-esch commented
The live examples don't work because of the cross-domain issue. The most prominent case is in the Torque.js lesson. For instance, this link does not work. The link is at live working example
on torque lesson page.
@mehak-sachdeva, could you do the following:
- Duplicate the examples that are 'live'
- Change the name to what it was called before to append
-hosted.html
instead (e.g., if it wasbonus.html
should have a duplicate that isbonus-hosted.html
) - Alter the
-hosted
ones to have the options parameter be{https: true}
so they are properly hosted - Put information in the header of the
-hosted
versions that makes a note that this file is different because it is being hosted over https - Update the
.md
files to link to these clones for the live examples, but keep the links to the source code for the examples/ones that people should be copying