修复 health 接口报错

This commit is contained in:
whyour
2025-06-07 00:25:47 +08:00
parent 47c194c1f4
commit 394e96bbf8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const config: Config = {
prefix: '/api',
},
jwt: {
secret: process.env.JWT_SECRET || createRandomString(16, 32),
secret: process.env.JWT_SECRET || 'whyour-secret',
expiresIn: process.env.JWT_EXPIRES_IN,
},
cors: {