summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-14 18:21:22 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-14 18:21:25 -0800
commit2bf5319193e31b3ccf3e8f467e7ea3e07897a56b (patch)
tree89d3379ec24a5c2e5da378f38c1b584a67756305
parent7aae9ab6d73b73579b3cc2ac7d3463da2d4808f8 (diff)
downloadfatcat-scholar-2bf5319193e31b3ccf3e8f467e7ea3e07897a56b.tar.gz
fatcat-scholar-2bf5319193e31b3ccf3e8f467e7ea3e07897a56b.zip
html: try goatcounter title redaction again
If the value is actually null, goatcounter uses the default, so setting an empty string. Waiting to confirm if this actually works.
-rw-r--r--fatcat_scholar/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index b920fb1..3b6eb99 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -291,7 +291,7 @@ document.getElementById("search_form").onsubmit = function(){
<script>
window.goatcounter = {
/* title leaks search query, so don't report it */
- title: null,
+ title: "",
{# to allow localhost connections (dev) to be colected, set: allow_local: true #}
};
</script>