docpad-plugin-services icon indicating copy to clipboard operation
docpad-plugin-services copied to clipboard

Fix for "mixed content" errors

Open ndarilek opened this issue 11 years ago • 1 comments

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.

ndarilek avatar Feb 12 '14 00:02 ndarilek

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.

mikeumus avatar Apr 17 '16 03:04 mikeumus