Skip to content

Commit 4898ba2

Browse files
authored
fix: options.priority used incorrect fallback (#207)
1 parent 408c2b4 commit 4898ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export function serialize(
311311
const priority =
312312
typeof options.priority === "string"
313313
? options.priority.toLowerCase()
314-
: options.sameSite;
314+
: undefined;
315315
switch (priority) {
316316
case "low":
317317
str += "; Priority=Low";

0 commit comments

Comments
 (0)