From a297f50bf7931aae3d9c73c83ddacf0dc9f54915 Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Fri, 22 Nov 2024 09:26:54 -0800 Subject: [PATCH] New recaptcha endpoints (#1190) --- netlify.toml | 1 + next.config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/netlify.toml b/netlify.toml index 82a909b0b..287030946 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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' \ diff --git a/next.config.js b/next.config.js index 18b109491..525b6f3ab 100644 --- a/next.config.js +++ b/next.config.js @@ -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';", @@ -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'",