Skip to content

Commit e14cf2c

Browse files
fix(api): update SameSite cookie attribute to 'lax' for improved compatibility
1 parent 1d42b9a commit e14cf2c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

TODO

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[x] Docker image validation
22
[x] Architecture validation
3-
[] Show environment
43
[] Live Status
54
[] Plans page fixes

api/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ app.use(
5555
cookie: {
5656
httpOnly: true,
5757
secure: production,
58-
sameSite: production ? "none" : "lax",
58+
sameSite: "lax",
5959
domain: production ? ".kargo.upayan.dev" : undefined,
6060
maxAge: 7 * 24 * 60 * 60 * 1000, // 1 week
6161
},

0 commit comments

Comments
 (0)