Skip to content

Commit

Permalink
[skip ci] update csp for google recaptcha
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Feb 17, 2025
1 parent 6f17cf0 commit c97e3f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nextjs/csp/policies/googleReCaptcha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export function googleReCaptcha(): CspDev.DirectiveDescriptor {
}

return {
'connect-src': [
'https://www.google.com/recaptcha/api2/clr',
],
'script-src': [
'https://www.google.com/recaptcha/api.js',
'https://www.gstatic.com',
Expand Down

0 comments on commit c97e3f9

Please sign in to comment.