8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 03:43:12 +00:00

NVérification du caractère sécurisé de la requete http/https issue #53

This commit is contained in:
Matthieu Michelet 2017-12-12 01:24:20 +01:00
parent 0383ee7a7b
commit 50663784bd

View file

@ -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 #}