commit: 1840a352f5cdf676284c1d8d32bef7776fbb536d
parent: c93d0978f21fbbd51e94a4823ffe876fa4511c42
Author: abcang <abcang1015@gmail.com>
Date: Sat, 17 Jun 2017 05:38:26 +0900
Fix ogp url (#3802)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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' }/