From d6af7b52a8902fce45cbbcb71840a3a086a77e26 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Fri, 16 Oct 2026 09:09:31 +0100 Subject: [PATCH] docs: Cloudflare Worker setup always uses the script snippet The Worker no longer injects the Protect script, so the guide drops the auto-inject mode and SITE_KEY and shows the snippet customers add. Also fixes a dead troubleshooting link to that step. --- .../en/protect-edge/cloudflare-worker.mdx | 44 +++++-------------- .../docs/en/protect-edge/troubleshooting.mdx | 2 +- 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/src/content/docs/en/protect-edge/cloudflare-worker.mdx b/src/content/docs/en/protect-edge/cloudflare-worker.mdx index 237408b517553..59aff3bbc1a62 100644 --- a/src/content/docs/en/protect-edge/cloudflare-worker.mdx +++ b/src/content/docs/en/protect-edge/cloudflare-worker.mdx @@ -34,17 +34,11 @@ Extract it and you get: Versioned tarballs are at `https://packages.prosopo.io/cloud/Prosopo-Cloudflare-.tgz` if you want to pin to a specific release. -Part 2 (client-side) is hosted by us. Either the worker injects the ` - -``` - -The rewriter is streaming so there's no measurable latency cost. Non-HTML responses (JSON, CSS, images, XHR replies) pass through untouched. +**This part is mandatory.** Without the bundle no session cookie is ever set, and the worker returns 401 `no-session` on every `/api/*` or `/forms/*` call in perpetuity. -**CSP note.** If your site sets a `Content-Security-Policy` header, add `https://js.protect.prosopo.io` to `script-src` so the injected `