Skip to content

Commit

Permalink
(bucket) allow localhost:9000 in img-src CSP for dev purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed May 27, 2024
1 parent 32dd8b1 commit d9e1fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@
MEDIA_URL = f"{AWS_S3_ENDPOINT_URL}/" # noqa: F405

CSP_DEFAULT_SRC = ("*",)
CSP_IMG_SRC += ("localhost:9000",) # noqa: F405

0 comments on commit d9e1fd1

Please sign in to comment.