Skip to content

Commit

Permalink
New recaptcha endpoints (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dmatthews authored Nov 22, 2024
1 parent 55b8544 commit a297f50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ script-src \
https://widget.kapa.ai/kapa-widget.bundle.js \
https://www.google.com/recaptcha/api.js \
https://www.gstatic.com/recaptcha/releases/ \
https://www.google.com/recaptcha/enterprise.js \
; \
style-src \
'self' \
Expand Down
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const CSP_HEADER = [
"https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/", // Kapa.ai
"https://www.google.com/recaptcha/api.js", // Recaptcha for Kapa.ai
"https://www.gstatic.com/recaptcha/releases/", // Recaptchas for Kapa.ai
"https://www.google.com/recaptcha/enterprise.js", // Recaptchas for Kapa.ai
";",
"default-src 'none';",
"font-src 'self';",
Expand Down Expand Up @@ -59,6 +60,7 @@ const CSP_HEADER = [
"https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/", // Kapa.ai
"https://www.google.com/recaptcha/api.js", // Recaptcha for Kapa.ai
"https://www.gstatic.com/recaptcha/releases/", // Recaptchas for Kapa.ai
"https://www.google.com/recaptcha/enterprise.js", // Recaptchas for Kapa.ai
";",
"style-src",
"'self'",
Expand Down

0 comments on commit a297f50

Please sign in to comment.