We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c46ae77 commit bfc3ed3Copy full SHA for bfc3ed3
blocks/matcher.ts
@@ -152,7 +152,7 @@ const matcherBlock: Block<
152
result ??= matcherFunc(ctx);
153
} else {
154
hasher.hash(uniqueId);
155
- const cookieName = `${DECO_MATCHER_PREFIX}${hasher.result()}`;
+ const cookieName = `${DECO_MATCHER_PREFIX}${hasher.result()}_${($live as {traffic: number})?.traffic}`;
156
hasher.reset();
157
const isMatchFromCookie = cookieValue.boolean(
158
getCookies(ctx.request.headers)[cookieName],
0 commit comments