summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-15 22:28:08 +0200
committerAlan Pearce2024-05-15 22:28:08 +0200
commit4a47b6c986401623bae405b2e12000106f2cf62c (patch)
tree76ad79fc32396430ca00acbba3d2dfe994b0160a
parentc8be1dd4c46d231dc2c7bd0dea51e382bba9f7a1 (diff)
downloadnixfiles-4a47b6c986401623bae405b2e12000106f2cf62c.tar.lz
nixfiles-4a47b6c986401623bae405b2e12000106f2cf62c.tar.zst
nixfiles-4a47b6c986401623bae405b2e12000106f2cf62c.zip
update searchix
-rw-r--r--flake.lock8
-rw-r--r--system/linde.nix6
2 files changed, 8 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index 6247563a..399004b9 100644
--- a/flake.lock
+++ b/flake.lock
@@ -461,11 +461,11 @@
         "simple-css": "simple-css"
       },
       "locked": {
-        "lastModified": 1715759631,
-        "narHash": "sha256-TNt06Ig0mRkmhHaQpfe/sMRyH0H98vXQyeE2gjzQSfg=",
+        "lastModified": 1715802433,
+        "narHash": "sha256-jmSMSZvvgB/NbkMR0+USelVLld1r+siuyqjjnA9pjVQ=",
         "ref": "refs/heads/main",
-        "rev": "91836fef16532b72d9fd3edbcbe3844d9c541345",
-        "revCount": 127,
+        "rev": "eb88ab15adaf23a61c783afe76b646855814d38a",
+        "revCount": 138,
         "type": "git",
         "url": "https://git.alanpearce.eu/searchix"
       },
diff --git a/system/linde.nix b/system/linde.nix
index 776265a4..8be5f47b 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -828,7 +828,6 @@ in
         contentSecurityPolicy = {
           script-src = [
             "'self'"
-            "'unsafe-inline'"
             "https://gc.zgo.at"
             "https://js-de.sentry-cdn.com"
             "https://browser.sentry-cdn.com"
@@ -838,9 +837,12 @@ in
             "https://searchix.goatcounter.com/count"
             "*.sentry.io"
           ];
+          worker-src = [
+            "blob:"
+          ];
         };
         extraHeadHTML = ''
-          <script
+          <script async
             src="https://js-de.sentry-cdn.com/d735e99613a86e1625fb85d0e8e762de.min.js"
             crossorigin="anonymous"></script>
           <script data-goatcounter="https://searchix.goatcounter.com/count"