diff --git a/ars/src/apis/auth/auth.service.ts b/ars/src/apis/auth/auth.service.ts index f604da9..f2cd115 100644 --- a/ars/src/apis/auth/auth.service.ts +++ b/ars/src/apis/auth/auth.service.ts @@ -38,10 +38,10 @@ export class AuthService { const createUser = { ...rest, password: hashedPassword }; user = await this.userService.create({ ...createUser }); this.setRefreshToken({ user, res }); - res.redirect('http://localhost:3000/socialLogin'); + res.redirect('/socialLogin'); } else { this.setRefreshToken({ user, res }); - res.redirect('http://localhost:3000'); + res.redirect(''); } } }