Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/guides/csp.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Content Security Policy is a way to secure your website from cross-site scriptin
## Configuring your CSP for Friendly Captcha
If you are using a CSP for your website you will have to configure it to allow Friendly Captcha's iframes to be embedded.

In most cases you will only need to add the `frame-src: *.frcapi.com` directive, for example:
In most cases you will only need to add the `frame-src: https://*.frcapi.com` directive, for example:
```headers
# old header
Content-Security-Policy: default-src 'self'

# new header
Content-Security-Policy: default-src 'self'; frame-src *.frcapi.com
Content-Security-Policy: default-src 'self'; frame-src https://*.frcapi.com
```