From: Anton Khorev Date: Tue, 4 Jun 2024 10:42:01 +0000 (+0300) Subject: Remove Open Graph og:image:secure_url property X-Git-Tag: live~452^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/879c6017e0df27e72ae02ef50c0405a1e89bbcf7?ds=sidebyside;hp=-c Remove Open Graph og:image:secure_url property --- 879c6017e0df27e72ae02ef50c0405a1e89bbcf7 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") }