From 879c6017e0df27e72ae02ef50c0405a1e89bbcf7 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 4 Jun 2024 13:42:01 +0300 Subject: [PATCH] Remove Open Graph og:image:secure_url property --- app/helpers/open_graph_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index a91457645..27d8d2451 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -4,8 +4,7 @@ module OpenGraphHelper "og:site_name" => t("layouts.project_name.title"), "og:title" => [title, t("layouts.project_name.title")].compact.join(" | "), "og:type" => "website", - "og:image" => image_url("osm_logo_256.png", :protocol => "http"), - "og:image:secure_url" => image_url("osm_logo_256.png", :protocol => "https"), + "og:image" => image_url("osm_logo_256.png"), "og:url" => url_for(:only_path => false), "og:description" => t("layouts.intro_text") } -- 2.39.5