Skip to content

Commit e0610b4

Browse files
committed
↩️ revert (CHASE Backend): domain setting for session cookie
branch: deployment
1 parent dade682 commit e0610b4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

chase/backend/src/auth/session.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export const session = new Elysia({ name: "session" })
3535
secure: true,
3636
sign: ["sessionId"],
3737
secrets: appConfiguration.cookie.secrets,
38-
domain: appConfiguration.cookie.domain,
3938
},
4039
},
4140
),

chase/backend/src/util/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export const appConfiguration = {
3030
: requireEnv("COOKIE_SECRETS")
3131
?.split(",")
3232
.map((origin) => origin.trim()),
33-
domain: development ? "localhost" : requireEnv("COOKIE_DOMAIN"),
3433
},
3534
db: {
3635
postgresUrl: development

0 commit comments

Comments
 (0)