From f860f6c9c9678f02fa4de44f8b7352c977f5f8f1 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 11 Jul 2024 14:56:45 -0700 Subject: [PATCH] Fix a couple docs examples --- docs/decorators.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/decorators.rst b/docs/decorators.rst index 2bdaab6..981da3d 100644 --- a/docs/decorators.rst +++ b/docs/decorators.rst @@ -133,14 +133,14 @@ are in use, as shown below. @csp( { - "default_src": [SELF], + "default-src": [SELF], "img-src": ["imgsrv.com"], "script-src": ["scriptsrv.com", "googleanalytics.com", UNSAFE_INLINE], } ) @csp( { - "default_src": [SELF], + "default-src": [SELF], "img-src": ["imgsrv.com"], "script-src": ["scriptsrv.com", "googleanalytics.com"], "frame-src": [SELF],