From ea34cbf0c49813bcc929a5f36682b1f38cdd8fe0 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Wed, 11 Nov 2026 08:25:07 +0000 Subject: [PATCH] feat(web): WebMCP tools via @profullstack/webmcp (search API + search form) Adds the @profullstack/webmcp embed so an AI agent in the visitor's browser (WebMCP) can use this site's tools. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/lib/security-headers.js | 2 +- apps/web/src/views/Layout.jsx | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/web/src/lib/security-headers.js b/apps/web/src/lib/security-headers.js index 97f6716..3cc1d82 100644 --- a/apps/web/src/lib/security-headers.js +++ b/apps/web/src/lib/security-headers.js @@ -36,7 +36,7 @@ export const buildPolicy = ({ styleNonce } = {}) => * styleNonce for its first use): @profullstack/footer 0.4.0 puts it on the * inline script that posts the newsletter form and reports the result inline. */ - `script-src 'self' https://crawlproof.com${styleNonce ? ` 'nonce-${styleNonce}'` : ''}`, + `script-src 'self' https://crawlproof.com https://cdn.jsdelivr.net${styleNonce ? ` 'nonce-${styleNonce}'` : ''}`, /* * The inline