From 1a739636ca239308c890244c41c16fcd2a351b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Thu, 7 Nov 2024 23:45:49 +0100 Subject: cryptpad: relax the CORS headers further to allow for onlyoffice fonts --- cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl | 4 ++-- cluster/prod/app/cryptpad/deploy/cryptpad.hcl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cluster') 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", diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl index ce6a414..028696e 100644 --- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl +++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl @@ -63,7 +63,7 @@ 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-Origin *", "tricot-add-header Access-Control-Allow-Credentials true", "d53-cname pad.deuxfleurs.fr", "d53-cname pad-sandbox.deuxfleurs.fr", -- cgit v1.2.3