aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:19:37 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:19:37 +0100
commitbc49f33d6547e1eb70b278f0e7c4045ab45710a0 (patch)
tree8f73c0ab7405ed1865212c74c64ca72a6c014b2e /cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
parent00c56a4ddac52ef8332c97d8887d2d148faea13d (diff)
downloadnixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.tar.gz
nixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.zip
cryptpad: ajout de headers CORS manquants pour le domaine de sandbox
Diffstat (limited to 'cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl')
-rw-r--r--cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
index f0451d4..19fceae 100644
--- a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
+++ b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
@@ -63,6 +63,8 @@ job "cryptpad-debug" {
"tricot pad-sandbox-debug.deuxfleurs.fr",
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
+ "tricot-add-header Access-Control-Allow-Origin https://pad-sandbox-debug.deuxfleurs.fr",
+ "tricot-add-header Access-Control-Allow-Credentials true",
"d53-cname pad-debug.deuxfleurs.fr",
"d53-cname pad-sandbox-debug.deuxfleurs.fr",
]