Skip to content

Commit b0a5e45

Browse files
jamesbeithstevejalim
authored andcommitted
Fix incorrect domain from csp replace example
1 parent eb2f052 commit b0a5e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/decorators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The arguments and values are the same as ``@csp_update``:
100100
101101
102102
# Will allow images only from cdn-img2.com in the report-only policy.
103-
@csp_replace({"img-src": "imgsrv2.com"}, REPORT_ONLY=True)
103+
@csp_replace({"img-src": "cdn-img2.com"}, REPORT_ONLY=True)
104104
def myview(request):
105105
return render(...)
106106

0 commit comments

Comments
 (0)