CartoDB/academy

fix cross-domain files for all carto.js

Closed this issue · 0 comments

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:

  1. Duplicate the examples that are 'live'
  2. Change the name to what it was called before to append -hosted.html instead (e.g., if it was bonus.html should have a duplicate that is bonus-hosted.html)
  3. Alter the -hosted ones to have the options parameter be {https: true} so they are properly hosted
  4. 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
  5. 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