diff options
author | Armaël Guéneau <armael.gueneau@ens-lyon.org> | 2024-11-07 23:19:37 +0100 |
---|---|---|
committer | Armaël Guéneau <armael.gueneau@ens-lyon.org> | 2024-11-07 23:19:37 +0100 |
commit | bc49f33d6547e1eb70b278f0e7c4045ab45710a0 (patch) | |
tree | 8f73c0ab7405ed1865212c74c64ca72a6c014b2e | |
parent | 00c56a4ddac52ef8332c97d8887d2d148faea13d (diff) | |
download | nixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.tar.gz nixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.zip |
cryptpad: ajout de headers CORS manquants pour le domaine de sandbox
-rw-r--r-- | cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl | 2 | ||||
-rw-r--r-- | cluster/prod/app/cryptpad/deploy/cryptpad.hcl | 2 |
2 files changed, 4 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", ] diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl index 048345d..ce6a414 100644 --- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl +++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl @@ -63,6 +63,8 @@ job "cryptpad" { "tricot pad-sandbox.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.deuxfleurs.fr", + "tricot-add-header Access-Control-Allow-Credentials true", "d53-cname pad.deuxfleurs.fr", "d53-cname pad-sandbox.deuxfleurs.fr", ] |