fix: cookie not secure
This commit is contained in:
parent
6e6becec3b
commit
1b8595c17e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ import { toMessage } from "../../utils/errors";
|
|||
const COOKIE_NAME = "session_id";
|
||||
const COOKIE_OPTIONS = {
|
||||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
secure: false,
|
||||
sameSite: "lax" as const,
|
||||
path: "/",
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue