From 52f631a038dae9d353bae6e0f4cde1f96b1899f1 Mon Sep 17 00:00:00 2001 From: Igor Khrol Date: Wed, 11 Oct 2023 20:30:09 +0300 Subject: [PATCH] fix: thubmnails loading - Talisman default config (#25486) --- superset/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/config.py b/superset/config.py index 63b2e0dba13b7..28e3d4fd5bfce 100644 --- a/superset/config.py +++ b/superset/config.py @@ -1423,7 +1423,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument TALISMAN_CONFIG = { "content_security_policy": { "default-src": ["'self'"], - "img-src": ["'self'", "data:"], + "img-src": ["'self'", "blob:", "data:"], "worker-src": ["'self'", "blob:"], "connect-src": [ "'self'", @@ -1445,7 +1445,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument TALISMAN_DEV_CONFIG = { "content_security_policy": { "default-src": ["'self'"], - "img-src": ["'self'", "data:"], + "img-src": ["'self'", "blob:", "data:"], "worker-src": ["'self'", "blob:"], "connect-src": [ "'self'",