mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
NVérification du caractère sécurisé de la requete http/https issue #53
This commit is contained in:
parent
0383ee7a7b
commit
50663784bd
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<head prefix="og: http://ogp.me/ns#">
|
<head prefix="og: http://ogp.me/ns#">
|
||||||
<meta property="og:title" content="Re2o" />
|
<meta property="og:title" content="Re2o" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
{% if request.is_secure %}
|
||||||
<meta property="og:url" content="https://{{request.get_host}}" />
|
<meta property="og:url" content="https://{{request.get_host}}" />
|
||||||
|
{%else%}
|
||||||
|
<meta property="og:url" content="http://{{request.get_host}}"/>
|
||||||
|
{%endif%}
|
||||||
<meta property="og:image" content="https://pbs.twimg.com/profile_images/3217211434/3079b649023b1ea0e1f387df9b9cc7e7_400x400.png" />
|
<meta property="og:image" content="https://pbs.twimg.com/profile_images/3217211434/3079b649023b1ea0e1f387df9b9cc7e7_400x400.png" />
|
||||||
<meta property="og:description" content="Site de gestion de rézo féderez" />
|
<meta property="og:description" content="Site de gestion de rézo féderez" />
|
||||||
{# Load CSS and JavaScript #}
|
{# Load CSS and JavaScript #}
|
||||||
|
|
Loading…
Reference in a new issue