auto push

This commit is contained in:
kinou-p 2023-06-15 17:51:11 +02:00
parent 9a141a829d
commit 313eefd752
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ export class AppController {
const token = (await data).access_token;
// console
await this.userService.save(user);
return { url: 'http://' + process.env.BASE_URL + 'localhost/token?data=${encodeURIComponent(JSON.stringify(token))}' };
return { url: 'http://' + process.env.BASE_URL + '/token?data=${encodeURIComponent(JSON.stringify(token))}' };
}
@UseGuards(JwtAuthGuard)

View File

@ -1 +1 @@
BASE_URL=localhost
BASE_URL=192.168.1.19