From ac6a8515b7a87fc459ec3cc26f163e56bfea4f37 Mon Sep 17 00:00:00 2001 From: gw3000 Date: Sat, 29 Jul 2023 17:36:37 +0200 Subject: [PATCH] no CSP error on loading tables and modals --- app/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/settings.py b/app/core/settings.py index b6a96a7..ba39306 100644 --- a/app/core/settings.py +++ b/app/core/settings.py @@ -108,7 +108,7 @@ CSP_SCRIPT_SRC = ( "https://code.jquery.com", ) CSP_INCLUDE_NONCE_IN = ["script-src"] -CSP_IMG_SRC = ("'self'",) +CSP_IMG_SRC = ("'self'", "data:") CSP_FONT_SRC = ( "'self'", "https://fonts.gstatic.com",