mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
NVérification du caractère sécurisé de la requete http/https issue #53
This commit is contained in:
parent
bda1f2d296
commit
9af905f85e
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#">
|
||||
<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 #}
|
||||
|
|
Loading…
Reference in a new issue