auto push
This commit is contained in:
parent
776e36d310
commit
9a141a829d
@ -285,7 +285,7 @@ export class AppController {
|
||||
const token = (await data).access_token;
|
||||
// console
|
||||
await this.userService.save(user);
|
||||
return { url: `http://localhost/token?data=${encodeURIComponent(JSON.stringify(token))}` };
|
||||
return { url: 'http://' + process.env.BASE_URL + 'localhost/token?data=${encodeURIComponent(JSON.stringify(token))}' };
|
||||
}
|
||||
|
||||
@UseGuards(JwtAuthGuard)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user