Skip to content

Commit 55f56ff

Browse files
committed
Ignore more routes in proxy
1 parent 47a70d4 commit 55f56ff

File tree

1 file changed

+3
-1
lines changed
  • packages/theme/src/cli/utilities/theme-environment

1 file changed

+3
-1
lines changed

packages/theme/src/cli/utilities/theme-environment/proxy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const IGNORED_ENDPOINTS = [
2727
'/web-pixels@',
2828
'/wpm',
2929
'/services/',
30-
'/cdn-cgi/challenge-platform', // Cloudflare's turnstile challenge #6416
30+
'/api/collect',
31+
// Cloudflare's turnstile challenge #6416
32+
'/cdn-cgi/challenge-platform',
3133
]
3234

3335
const SESSION_COOKIE_NAME = '_shopify_essential'

0 commit comments

Comments
 (0)