Testing
This commit is contained in:
parent
ed7fc9c4ca
commit
247b61f81b
@ -5,7 +5,6 @@ import { SignJWT } from "jose";
|
||||
// Secret key for JWT signing (in production, use environment variable)
|
||||
const JWT_SECRET = new TextEncoder().encode(process.env.JWT_SECRET);
|
||||
|
||||
// Token expiration time (in seconds)
|
||||
const TOKEN_EXPIRY = 60 * 60 * 12; // 12 hours (in seconds)
|
||||
|
||||
// This is your POST handler for the login endpoint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user