pisi / Reel

The premier 360° solution for jQuery.
http://reel360.org
MIT License
689 stars 210 forks source link

Protocol-neutral CDN URL #266

Open tomviolin opened 10 years ago

tomviolin commented 10 years ago

I use Reel on an HTTPS page, and I got security warnings. So I just changed the CDN url to be protocol-proof:

      // ### `$.reel.cdn` ######
      // `String` (URL path), since 1.1
      //
      cdn: '//code.vostrel.net/',
pisi commented 10 years ago

Hi, thanks for sharing!

To work correctly, please use outside the source:

$.reel.cdn = "//reeljs.appspot.com";

My domain doesn't respond to HTTPS.

Cheers.

qadah commented 6 years ago

@pisi still have this issue. "//" not help, because code.vostrel.net not support https. my solution: download the package and upload to the local server, after then on file: /js/jquery.reel-min.js replace "code.vostrel.net" to "//example.com/Reel-master/". that's it!