plant
plant copied to clipboard
Add CSP handler
Create @plant/csp
package to manage Content-Security Policies.
Handler should add csp
context entry which allow to manage CSP policies as data. After request handling is finished, convert CSP into string and set Content-Security-Policy header.
Example: Helmet CSP