feat: token 令牌
This commit is contained in:
1 parent
a2ee53f83a
commit
ec0e6867ee
12 files changed
+408
-7
No files matched your search
@@ -1,2 +1,2 @@
|
||||
export const JWT_SECRET = 'jwtSecret';
|
||||
export const JWT_EXPIRATION = '1h';
|
||||
export const JWT_SECRET = process.env.JWT_SECRET || 'default-secret';
|
||||
export const JWT_EXPIRATION = process.env.JWT_EXPIRATION || '24000s';
|
||||
Reference in new issue
Block a user