feat: first commit
This commit is contained in:
21
server/src/config/configuration.ts
Normal file
21
server/src/config/configuration.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
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',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user