From f9c599d363b86002eebfaa76af0cfee6fe43c4a8 Mon Sep 17 00:00:00 2001 From: Justin Maier Date: Mon, 20 Jul 2026 13:11:14 -0600 Subject: [PATCH] fix(support): let /bugs work on civitai.red instead of bouncing to .com (#3254) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The civitai.red Cloudflare edge rule intercepted /bugs and /canny/bugs and 302'd them to civitai.com/support?sync-account=red, forcing a cross-domain session-sync and a second sign-in — and the sync-redirect param it passed is never read, so users landed on /support and never reached the Freshdesk portal. Drop /bugs and /canny/bugs from the edge rule so they fall through to the Next.js redirect in next.config.mjs (the same Freshworks SSO handoff .com uses). Leaves /support-portal on the trampoline for now. NOTE: this is the checked-in copy of the rule — the live civitai.red Cloudflare zone rule must be updated to match for this to take effect. Co-authored-by: Claude Opus 4.8 (1M context) --- ops/cloudflare/civitai-red-redirects.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/cloudflare/civitai-red-redirects.json b/ops/cloudflare/civitai-red-redirects.json index 050f8af10c..3170d68aa3 100644 --- a/ops/cloudflare/civitai-red-redirects.json +++ b/ops/cloudflare/civitai-red-redirects.json @@ -4,7 +4,7 @@ "rules": [ { "description": "support-portal bounce (.red -> .com session-sync trampoline)", - "expression": "(http.request.uri.path eq \"/bugs\" or http.request.uri.path eq \"/canny/bugs\" or http.request.uri.path eq \"/support-portal\")", + "expression": "(http.request.uri.path eq \"/support-portal\")", "action": "redirect", "action_parameters": { "from_value": {