fix(auth): allow HTTP for local network
This commit is contained in:
parent
f47dfcde1c
commit
0a394d0d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export async function POST(request) {
|
|||
const cookieStore = await cookies();
|
||||
cookieStore.set("auth_token", token, {
|
||||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
secure: false, // Allow HTTP for local network access
|
||||
sameSite: "lax",
|
||||
path: "/",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue