docpad / docpad-plugin-services

Adds super simple support for many 3rd party services to DocPad.
Other
18 stars 8 forks source link

Fix for "mixed content" errors #18

Open ndarilek opened 10 years ago

ndarilek commented 10 years ago

My Docpad site is served via HTTPS, but many of the URLs automatically inserted are http:. This throws up "mixed content" errors.

Would it be better to explicitly fetch all of these via HTTPS? Or maybe make the URLS // so they inherit the scheme of the calling page? Either way, many of my buttons fail to load, and I have to explicitly load Disqus over HTTPS.

mikeumus commented 8 years ago

Hey @ndarilek, you can use // URLs in script & style assets in docpad.coffee and // URLs work more anywhere else in the project too I believe. I've been able to use them successfully. Let me know if this is still an issue for you otherwise we'll close this issue as reference for future seekers.