fix: usr: the meta tags does not have https scheme - nothing worked in configuration #4
All checks were successful
Deploy to Production / deploy (push) Successful in 2m26s
All checks were successful
Deploy to Production / deploy (push) Successful in 2m26s
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
{% block title %} - Battle Report{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set shareUrl = url('MineSeekerBundle_battle_share', { uuid: game.uuid }) -%}
|
||||
{%- set _ogImage = url('MineSeekerBundle_og_battle', { uuid: game.uuid }) -%}
|
||||
{%- set shareUrl = url('MineSeekerBundle_battle_share', { uuid: game.uuid }) | replace({'http://': 'https://'}) -%}
|
||||
{%- set _ogImage = url('MineSeekerBundle_og_battle', { uuid: game.uuid }) | replace({'http://': 'https://'}) -%}
|
||||
<meta property="og:url" content="{{ shareUrl }}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_homepage') }}"/>
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_homepage') | replace({'http://': 'https://'}) }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:locale" content="en_US"/>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_gamePlay') }}"/>
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_gamePlay') | replace({'http://': 'https://'}) }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:title" content="Your friend challenges YOU!"/>
|
||||
<meta property="og:description" content="Do you accept the challenge?"/>
|
||||
|
||||
Reference in New Issue
Block a user