Skip to content

Commit 77f2fab

Browse files
authored
Add CSP_REPORT_URI to CSP settings
1 parent 83593b1 commit 77f2fab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bakerydemo/settings/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,6 @@
249249
CSP_BASE_URI = os.environ.get("CSP_BASE_URI").split(",")
250250
if "CSP_OBJECT_SRC" in os.environ:
251251
CSP_OBJECT_SRC = os.environ.get("CSP_OBJECT_SRC").split(",")
252+
if "CSP_REPORT_URI" in os.environ:
253+
CSP_REPORT_URI = os.environ.get("CSP_REPORT_URI")
254+

0 commit comments

Comments
 (0)