Disable crawling locally
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2024-09-26 14:46:17 +02:00
parent 5e9418ccbc
commit 49f2573b49
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
[viewBag]
==
function onStart() {
$this['rootUrl'] = request()->root();
}
==
{# Your footer goes here #}
{% scripts %}
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
@ -23,6 +27,7 @@
{% framework extras %}
{% if rootUrl != 'http://localhost:8000' %}
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
@ -36,4 +41,4 @@
g.async=true; g.src=u+'proxy.php'; s.parentNode.insertBefore(g,s);
})();
</script>
{% endif %}