]> git.openstreetmap.org Git - rails.git/commitdiff
Remove Open Graph og:image:secure_url property
authorAnton Khorev <tony29@yandex.ru>
Tue, 4 Jun 2024 10:42:01 +0000 (13:42 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 4 Jun 2024 10:42:01 +0000 (13:42 +0300)
app/helpers/open_graph_helper.rb

index a91457645416f49c3ef01a4e50d63d239804d36b..27d8d2451812e24e9c77c2ce60a7de49863860d9 100644 (file)
@@ -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: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")
     }
       "og:url" => url_for(:only_path => false),
       "og:description" => t("layouts.intro_text")
     }