We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495f80f commit 8b3cd60Copy full SHA for 8b3cd60
src/base-cookie.js
@@ -39,6 +39,7 @@ const set = (name, value, opts) => {
39
if (opts.secure) {
40
str += '; Secure';
41
}
42
+ str += '; SameSite=Lax';
43
document.cookie = str;
44
};
45
0 commit comments