Skip to content
Snippets Groups Projects
Commit fe3b8ae8 authored by tpgus2603's avatar tpgus2603
Browse files

refactor: 로그인 실패 리다이렉트 경로 수정

parent f201437a
No related branches found
No related tags found
1 merge request!42[#25] 배포코드 master브랜치로 이동
......@@ -5,7 +5,7 @@ const router = express.Router();
// GET api/auth/login
router.get('/login', (req, res, next) => {
passport.authenticate('google', { scope: ['profile', 'email'] })(req, res, next);
passport.authenticate('google', { failureRedirect: `${process.env.FRONT_URL}/login` }),
});
router.get(
'/google/callback',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment