From 248caf51c497710824a975732e83dcb2ea768fb6 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Thu, 23 May 2024 17:36:29 +0200 Subject: [PATCH] (bucket) allow localhost:9000 in img-src CSP for dev purposes --- config/settings/dev.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/settings/dev.py b/config/settings/dev.py index 3bbe04a92..0700a2237 100644 --- a/config/settings/dev.py +++ b/config/settings/dev.py @@ -61,3 +61,4 @@ MEDIA_URL = f"{AWS_S3_ENDPOINT_URL}/" # noqa: F405 CSP_DEFAULT_SRC = ("*",) +CSP_IMG_SRC += ("localhost:9000",) # noqa: F405