[perf] Add redirect url

This commit is contained in:
JasonWu 2021-09-08 17:26:46 +08:00
parent d11f1a053b
commit 443a89002b
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@ module.exports = {
url: env.SERVER_URL || 'http://localhost:10230',
port: parseInt(env.SERVER_PORT, 10) || 10230,
jwt_secret: env.SERVER_JWT_SECRET || 'testsecret',
jwt_expire: parseInt(env.SERVER_JWT_EXPIRE, 10) || 60 * 60 * 24 * 30 // 30 day
jwt_expire: parseInt(env.SERVER_JWT_EXPIRE, 10) || 60 * 60 * 24 * 30, // 30 day
frontend_url: env.FRONTEND_URL || 'http://localhost:4200'
},
sso: {
authorized_endpoint: env.SSO_AUTHORIZED_ENDPOINT || '',