From 1e760a19d6279e4e2aff06179bc863f994d1f457 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Tue, 5 May 2026 10:46:06 +0200 Subject: [PATCH] fix: add missing csp rules for maps app --- config/opencloud/csp.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/opencloud/csp.yaml b/config/opencloud/csp.yaml index cde4b1e..22b9eb1 100644 --- a/config/opencloud/csp.yaml +++ b/config/opencloud/csp.yaml @@ -9,6 +9,7 @@ directives: - 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/' - 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/' - 'https://update.opencloud.eu/' + - 'https://tile.openstreetmap.org/' default-src: - '''none''' font-src: @@ -31,6 +32,7 @@ directives: - 'https://tile.openstreetmap.org/' # In contrary to bash and docker the default is given after the | character - 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_PORT_HTTPS}/' + - 'https://tile.openstreetmap.org/' manifest-src: - '''self''' media-src: @@ -45,3 +47,6 @@ directives: style-src: - '''self''' - '''unsafe-inline''' + worker-src: + - "'self'" + - 'blob:'