Files
nestjs-admin/server/src/config/configuration.ts
2024-10-26 12:10:13 +08:00

22 lines
438 B
TypeScript

export default () => ({
jwt: {
secret: 'ultimate',
expiresIn: '7d',
redisExpiresIn: 7 * 60 * 60 * 24 * 1000,
},
redis: {
host: '81.70.149.52',
port: 8002,
// 默认过期时间 5s
ttl: 5000,
},
minio: {
endPoint: 's3.ulti42.com',
port: 443,
useSSL: true,
accessKey: 'vjr5fW3Rk6W0WydqOpCt',
secretKey: '3sNkhS5zVf9tTXb3doSN2iJ3NO6WG8alJPoj1Pzd',
bucketName: 'static',
},
});