Skip to content

Commit

Permalink
docs: only render shynet tag in prod for sample deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
danihodovic committed Jun 20, 2024
1 parent ac5c3f9 commit 232a0c9
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@
{% block content %}
{% endblock content %}
</div>
<noscript>
<img src="https://s.depode.com/ingress/739a9ce3-0cd5-42be-89c0-6b9d0d16e305/pixel.gif">
</noscript>
<script defer
src="https://s.depode.com/ingress/739a9ce3-0cd5-42be-89c0-6b9d0d16e305/script.js"></script>
{% if "localhost" not in request.get_host %}
<noscript>
<img src="https://s.depode.com/ingress/739a9ce3-0cd5-42be-89c0-6b9d0d16e305/pixel.gif">
</noscript>
<script defer
src="https://s.depode.com/ingress/739a9ce3-0cd5-42be-89c0-6b9d0d16e305/script.js"></script>
{% endif %}
</body>
</html>

0 comments on commit 232a0c9

Please sign in to comment.