diff --git a/packages/fresh/src/middlewares/csp.ts b/packages/fresh/src/middlewares/csp.ts index 0f0b6f558c4..cb27ce45c6d 100644 --- a/packages/fresh/src/middlewares/csp.ts +++ b/packages/fresh/src/middlewares/csp.ts @@ -12,11 +12,16 @@ export interface CSPOptions { csp?: string[]; /** - * If true, replaces 'unsafe-inline' with a nonce-based policy for - * script-src and style-src directives. Fresh automatically injects + * If true, appends a nonce to 'unsafe-inline' entries in the policy + * for script-src and style-src directives. Fresh automatically injects * nonce attributes on inline `