From fe27556e72fbe99719321ef7df58427febe8cddb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 25 Nov 2026 09:50:53 -0700 Subject: Remove the Shopify integration; tighten the post relay Drop the Shopify settings page and script route along with the unused ecash post route. The generic post relay now only forwards plain API paths and passes the visitor's address along to the API. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6W9CsdxmhFrfaKNVHU --- src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/utils.ts b/src/lib/utils.ts index b6bbdb53..15ffb7f3 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -27,7 +27,7 @@ export const setIpGetter = (fn: () => string | undefined) => { getIp = fn; }; -const ipHeaders = (): Record => { +export const ipHeaders = (): Record => { const ip = getIp?.(); return ip ? { "cf-connecting-ip": ip } : {}; }; -- cgit v1.2.3