diff options
-rw-r--r-- | echo/middleware/csp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/echo/middleware/csp.go b/echo/middleware/csp.go index 7ff4098..14047eb 100644 --- a/echo/middleware/csp.go +++ b/echo/middleware/csp.go | |||
@@ -33,6 +33,7 @@ type ContentSecurityPolicyConfig struct { | |||
33 | Sandbox []CSPSandbox `csp:"sandbox"` | 33 | Sandbox []CSPSandbox `csp:"sandbox"` |
34 | FormAction []CSPDirective `csp:"form-action"` | 34 | FormAction []CSPDirective `csp:"form-action"` |
35 | UpgradeInsecureRequests bool `csp:"upgrade-insecure-requests"` | 35 | UpgradeInsecureRequests bool `csp:"upgrade-insecure-requests"` |
36 | BlockAllMixedContent bool `csp:"block-all-mixed-content"` | ||
36 | FrameAncestors []CSPDirective `csp:"frame-ancestors"` | 37 | FrameAncestors []CSPDirective `csp:"frame-ancestors"` |
37 | ReportUri []*url.URL `csp:"report-uri"` // deprecated | 38 | ReportUri []*url.URL `csp:"report-uri"` // deprecated |
38 | ReportTo []CSPReportTo `csp:"report-to"` // experimental | 39 | ReportTo []CSPReportTo `csp:"report-to"` // experimental |