]> cat aescling's git repositories - mastodon.git/commitdiff
Fix ogp url (#3802)
authorabcang <abcang1015@gmail.com>
Fri, 16 Jun 2017 20:38:26 +0000 (05:38 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 16 Jun 2017 20:38:26 +0000 (22:38 +0200)
app/views/about/show.html.haml

index fd21c2a7f62645b6cee961a8e1f1595f9a3a1c99..d15b04163f1c64b5568a49cfa9ef281f469330e9 100644 (file)
@@ -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' }/