Skip to content

Commit

Permalink
fix: options.priority used incorrect fallback (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchurch authored Nov 15, 2024
1 parent 408c2b4 commit 4898ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export function serialize(
const priority =
typeof options.priority === "string"
? options.priority.toLowerCase()
: options.sameSite;
: undefined;
switch (priority) {
case "low":
str += "; Priority=Low";
Expand Down

0 comments on commit 4898ba2

Please sign in to comment.