Disable crawling locally
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5e9418ccbc
commit
49f2573b49
|
@ -1,5 +1,9 @@
|
||||||
[viewBag]
|
[viewBag]
|
||||||
==
|
==
|
||||||
|
function onStart() {
|
||||||
|
$this['rootUrl'] = request()->root();
|
||||||
|
}
|
||||||
|
==
|
||||||
{# Your footer goes here #}
|
{# Your footer goes here #}
|
||||||
{% scripts %}
|
{% scripts %}
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
|
<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 %}
|
{% framework extras %}
|
||||||
|
|
||||||
|
{% if rootUrl != 'http://localhost:8000' %}
|
||||||
<script>
|
<script>
|
||||||
var _paq = window._paq = window._paq || [];
|
var _paq = window._paq = window._paq || [];
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
/* 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);
|
g.async=true; g.src=u+'proxy.php'; s.parentNode.insertBefore(g,s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue