about summary refs log tree commit diff
path: root/nix/hosts
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-04-05 18:41:48 +0200
committerEmile <git@emile.space>2024-04-05 18:41:48 +0200
commite7172ceae200836fbba37c82b81f732f2e58ca09 (patch)
tree8e2fe5cec8b23fb566da642a1c815824a0bbdccf /nix/hosts
parent854f574800270191186ddcc2f787b42a2ac863ba (diff)
pretalx CSP
Using the default CSP breaks the end "fahrplan" loading of some scripts.
Diffstat (limited to 'nix/hosts')
-rw-r--r--nix/hosts/corrino/www/talks.emile.space.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/hosts/corrino/www/talks.emile.space.nix b/nix/hosts/corrino/www/talks.emile.space.nix
index 80c264e..e5c0328 100644
--- a/nix/hosts/corrino/www/talks.emile.space.nix
+++ b/nix/hosts/corrino/www/talks.emile.space.nix
@@ -10,8 +10,9 @@ let
 
     [site]
     ; never run debug in production
-    debug = True
+    debug = False
     url = https://talks.emile.space
+    csp=https://talks.emile.space,http://localhost:8080,'self'
 
     [database]
     backend=sqlite3