mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore: token expire
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { env } from "./util.env";
|
||||
function isNullOrUnDef(value) {
|
||||
function isNullOrUnDef(value: any) {
|
||||
return value == null;
|
||||
}
|
||||
const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;
|
||||
|
||||
@@ -68,7 +68,7 @@ const development = {
|
||||
auth: {
|
||||
jwt: {
|
||||
secret: 'certd666',
|
||||
expire: 7 * 24 * 60, //单位秒
|
||||
expire: 7 * 24 * 60 * 60, //单位秒
|
||||
},
|
||||
},
|
||||
certd: {
|
||||
|
||||
Reference in New Issue
Block a user