feat: simplify landing page

This commit is contained in:
Ahmad Abdolsaheb
2019-09-01 17:20:53 +03:00
committed by Mrugesh Mohapatra
parent 5dd8044035
commit 9ff7bf5801
24 changed files with 350 additions and 1061 deletions

View File

@ -55,7 +55,7 @@ export function ifNotVerifiedRedirectToUpdateEmail(req, res, next) {
return next();
}
export function ifUserRedirectTo(path = `${homeLocation}/welcome`, status) {
export function ifUserRedirectTo(path = `${homeLocation}/`, status) {
status = status === 302 ? 302 : 301;
return (req, res, next) => {
const { accessToken } = getAccessTokenFromRequest(req);