I am developing an app that gives the user the ability to make a drawing using HTML5 canvas. When the drawing gets loaded on subsequent pages after the drawing is created, parts of the drawing don’t show up. Chrom dev tools show that the failure is due to Cross-Origin Resource Sharing (CORS). It seems cloud9 goes back and forth between http and https, so the browser thinks the app is trying to access another origin.
Is there anything I can do about this. Now and then I hard-code the URLs, but that got old real fast.
Thank you in advance for some help with this.