docpad-plugin-services
docpad-plugin-services copied to clipboard
Fix for "mixed content" errors
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.
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.