Skip to content

Commit a297f50

Browse files
New recaptcha endpoints (#1190)
1 parent 55b8544 commit a297f50

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

netlify.toml

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ script-src \
5757
https://widget.kapa.ai/kapa-widget.bundle.js \
5858
https://www.google.com/recaptcha/api.js \
5959
https://www.gstatic.com/recaptcha/releases/ \
60+
https://www.google.com/recaptcha/enterprise.js \
6061
; \
6162
style-src \
6263
'self' \

next.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const CSP_HEADER = [
2727
"https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/", // Kapa.ai
2828
"https://www.google.com/recaptcha/api.js", // Recaptcha for Kapa.ai
2929
"https://www.gstatic.com/recaptcha/releases/", // Recaptchas for Kapa.ai
30+
"https://www.google.com/recaptcha/enterprise.js", // Recaptchas for Kapa.ai
3031
";",
3132
"default-src 'none';",
3233
"font-src 'self';",
@@ -59,6 +60,7 @@ const CSP_HEADER = [
5960
"https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/", // Kapa.ai
6061
"https://www.google.com/recaptcha/api.js", // Recaptcha for Kapa.ai
6162
"https://www.gstatic.com/recaptcha/releases/", // Recaptchas for Kapa.ai
63+
"https://www.google.com/recaptcha/enterprise.js", // Recaptchas for Kapa.ai
6264
";",
6365
"style-src",
6466
"'self'",

0 commit comments

Comments
 (0)