pbckcode icon indicating copy to clipboard operation
pbckcode copied to clipboard

Plugin is being blocked because cdn is not https

Open m00nh3ck opened this issue 8 years ago • 4 comments

was loaded over HTTPS, but requested an insecure script 'http://cdn.jsdelivr.net/ace/1.1.4/noconflict/ace.js'. This request has been blocked; the content must be served over HTTPS.

m00nh3ck avatar Mar 17 '16 17:03 m00nh3ck

Hi,

that's weird, it should load through HTTPS if your server is in HTTPS. Can you add this in your config ?

 config.pbckcode = {
        js : "https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/"
    };

prbaron avatar Mar 17 '16 18:03 prbaron

@prbaron added that to config, working like a charm, thanks!

ln206 avatar Mar 24 '16 10:03 ln206

Many thanks for it.

On Thu, 24 Mar 2016 10:24 Long Nguyen, [email protected] wrote:

@prbaron https://github.com/prbaron added that to config, working like a charm, thanks!

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/prbaron/pbckcode/issues/46#issuecomment-200775899

m00nh3ck avatar Mar 24 '16 12:03 m00nh3ck

This also worked for me in an electron app (issue was file not found though)

SuigetsuSake avatar Dec 27 '16 21:12 SuigetsuSake