middleman-gibberish
middleman-gibberish copied to clipboard
Mixed content error on https site.
Since the resolution of issue #7 has not yet been published, I'm pointing directly to this repo. However, the logic behind determining usage of local vs external js assets is flawed.
Particularly this:
Should be easy fix but it seems like there is already some work that has been started to refactor that so I dont want to interfere. Just filing this for people having the same issue.
I'm getting the same result; my page is deployed to HTTPS, and always renders out the external asset paths, despite my local assets being ostensibly available. Were you able to somehow hack around this logic, or is this extension just impossible to use on an HTTPS site?
I had to clone the gem and change line 142 in lib/middleman-gibberish.rb, with a link to a jQuery lib served over https (in my case that was just jQuery CDN)
https://github.com/ahoward/middleman-gibberish/blob/b67eda861438811baf51d5517f6cbea4413e9774/lib/middleman-gibberish.rb#L142
Aaaaaahhh, that makes sense — thank you!