standalone: send sameSite:lax by default

This commit is contained in:
Tiago
2025-05-31 16:12:33 +01:00
parent a986791668
commit 1db15e436a
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -94,4 +94,7 @@ node_modules
debug/
target/
**/*.rs.bk
*.pdb
*.pdb
standalone-v2-beta/**
+1
View File
@@ -169,6 +169,7 @@ const auth = new Elysia({
value: await Bun.password.hash(body.password),
httpOnly: true,
secure: true,
sameSite: "lax",
path: "/",
maxAge: 86400 * 7,
});