Skip to content

Commit

Permalink
update clearance cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Dec 27, 2024
1 parent 4f7b011 commit a4ac16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/clear-clearance/[[path]].js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function onRequestGet(ctx) {
status: 302,
headers: {
Location: url.toString(),
'Set-Cookie': `cf_clearance=invalid; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; path=/; domain=.${domain}`,
'Set-Cookie': `cf_clearance=invalid; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; path=/; domain=.${domain}; Priority=High; HttpOnly; Secure; SameSite=None; Partitioned`,
},
});
}

0 comments on commit a4ac16b

Please sign in to comment.