Most probably a quick fix, but I didn't have time to create a PR.
Basically at:
|
meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present? |
meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?
causes the og:image meta tag to not carry the scheme (http vs https), making FB scraper complain of mixed scheme / content issue.
Most probably a quick fix, but I didn't have time to create a PR.
Basically at:
lines-engine/app/controllers/lines/articles_controller.rb
Line 59 in b1fcdcf
meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?causes the og:image meta tag to not carry the scheme (http vs https), making FB scraper complain of mixed scheme / content issue.