From 7efc0db4e165d5d9adbdf093678cbe65d2875964 Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Thu, 20 Jun 2024 14:15:40 -0300 Subject: [PATCH] docs: only render shynet tag in prod for sample deployment (#69) --- .../example/templates/example/base.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sample_deployment/sample_deployment/example/templates/example/base.html b/sample_deployment/sample_deployment/example/templates/example/base.html index 3a2784c..0e8272a 100644 --- a/sample_deployment/sample_deployment/example/templates/example/base.html +++ b/sample_deployment/sample_deployment/example/templates/example/base.html @@ -55,10 +55,12 @@ {% block content %} {% endblock content %} - - + {% if "localhost" not in request.get_host %} + + + {% endif %}