Skip to content

Commit b2b586c

Browse files
Update src/routes/solid-start/guides/security.mdx
Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent 5cbc5aa commit b2b586c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/solid-start/guides/security.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default createHandler(
7676

7777
### Without nonce
7878

79-
To configure CSP without a nonce, create a middleware that configures the CSP header, then register it to run on the [`onBeforeResponse`](/solid-start/advanced/middleware#onbeforeresponse) event:
79+
To configure CSP without a nonce, a middleware that sets the CSP header is required, and it should be registered to run during the [`onBeforeResponse`](/solid-start/advanced/middleware#onbeforeresponse) event:
8080

8181
```tsx
8282
import { createMiddleware } from "@solidjs/start/middleware";

0 commit comments

Comments
 (0)