Skip to content

Commit 7989a94

Browse files
committed
Improve docs
1 parent 8188306 commit 7989a94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/plug_content_security_policy.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ defmodule PlugContentSecurityPolicy do
1919
Accepts the following options:
2020
2121
- `:directives`: Map of CSP directives with values as lists of strings
22-
- `:nonces_for`: List of CSP directive keys to generate nonces for
22+
- `:nonces_for`: List of CSP directive keys for which to generate nonces
23+
(valid keys: `:script_src`, `:style_src`)
2324
- `:report_only`: Set `#{@report_field}` header instead of `#{@default_field}`
2425
2526
See [README](./readme.html#usage) for usage details.

0 commit comments

Comments
 (0)