Skip to content

Commit

Permalink
test filter out amplitude cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhhd committed Jan 14, 2025
1 parent 5fc724e commit 0b2e83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function addSessionIdHeader(requestHeaders: Headers) {
}

function filterAmplitudeCookies(requestHeaders: Headers) {
const cookies: string | null = requestHeaders.get("Set-Cookie");
const cookies: string | null = requestHeaders.get("cookie");
if (cookies) {
const filteredCookies = cookies
.split(";")
Expand Down

0 comments on commit 0b2e83d

Please sign in to comment.