From 443a89002b1cc2e6af739425337bd8a20964cc31 Mon Sep 17 00:00:00 2001 From: JasonWu Date: Wed, 8 Sep 2021 17:26:46 +0800 Subject: [PATCH] [perf] Add redirect url --- config/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 82619ea..3fef45c 100644 --- a/config/index.js +++ b/config/index.js @@ -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 || '',