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

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

This commit is contained in:
matthieu 2017-12-12 01:24:20 +01:00 committed by root
parent bda1f2d296
commit 9af905f85e

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" />
<meta property="og:url" content="https://{{request.get_host}}" /> {% if request.is_secure %}
<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 #}