Commit 9af905f8 authored by matthieu's avatar matthieu Committed by root

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

parent bda1f2d2
......@@ -32,7 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<head prefix="og: http://ogp.me/ns#">
<meta property="og:title" content="Re2o" />
<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:description" content="Site de gestion de rézo féderez" />
{# Load CSS and JavaScript #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment