cryptpad: ajout de headers CORS manquants pour le domaine de sandbox

This commit is contained in:
Armaël Guéneau 2024-11-07 23:19:37 +01:00
parent 00c56a4dda
commit bc49f33d65
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,8 @@ job "cryptpad-debug" {
"tricot pad-sandbox-debug.deuxfleurs.fr", "tricot pad-sandbox-debug.deuxfleurs.fr",
"tricot-add-header Cross-Origin-Resource-Policy cross-origin", "tricot-add-header Cross-Origin-Resource-Policy cross-origin",
"tricot-add-header Cross-Origin-Embedder-Policy require-corp", "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-debug.deuxfleurs.fr",
"d53-cname pad-sandbox-debug.deuxfleurs.fr", "d53-cname pad-sandbox-debug.deuxfleurs.fr",
] ]

View file

@ -63,6 +63,8 @@ job "cryptpad" {
"tricot pad-sandbox.deuxfleurs.fr", "tricot pad-sandbox.deuxfleurs.fr",
"tricot-add-header Cross-Origin-Resource-Policy cross-origin", "tricot-add-header Cross-Origin-Resource-Policy cross-origin",
"tricot-add-header Cross-Origin-Embedder-Policy require-corp", "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.deuxfleurs.fr",
"d53-cname pad-sandbox.deuxfleurs.fr", "d53-cname pad-sandbox.deuxfleurs.fr",
] ]