From: abcang Date: Fri, 16 Jun 2017 20:38:26 +0000 (+0900) Subject: Fix ogp url (#3802) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=1840a352f5cdf676284c1d8d32bef7776fbb536d;p=mastodon.git Fix ogp url (#3802) --- diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index fd21c2a7f..d15b04163 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -10,7 +10,7 @@ %meta{ property: 'og:type', content: 'website' }/ %meta{ property: 'og:title', content: site_hostname }/ %meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/ - %meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg') }/ + %meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg', protocol: :request) }/ %meta{ property: 'og:image:width', content: '400' }/ %meta{ property: 'og:image:height', content: '400' }/ %meta{ property: 'twitter:card', content: 'summary' }/