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:45:49 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:45:49 +0100
commit1a739636ca239308c890244c41c16fcd2a351b7b (patch)
tree90f11674dba9f78dc59fd8d1feb6f610ccdbe042 /cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
parentf32c0c34f345fb61646dcab87db4c2ab6dbb23be (diff)
downloadnixcfg-1a739636ca239308c890244c41c16fcd2a351b7b.tar.gz
nixcfg-1a739636ca239308c890244c41c16fcd2a351b7b.zip
cryptpad: relax the CORS headers further to allow for onlyoffice fonts
Diffstat (limited to 'cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl')
-rw-r--r--cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
index 3ef1ecf..7788273 100644
--- a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
+++ b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
@@ -56,14 +56,14 @@ job "cryptpad-debug" {
}
service {
- name = "cryptpad"
+ name = "cryptpad-debug"
port = "http"
tags = [
"tricot pad-debug.deuxfleurs.fr",
"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-Origin *",
"tricot-add-header Access-Control-Allow-Credentials true",
"d53-cname pad-debug.deuxfleurs.fr",
"d53-cname pad-sandbox-debug.deuxfleurs.fr",