This commit is contained in:
crusader 2018-05-28 20:52:42 +09:00
parent 90fc8ca982
commit a59f1c7dd7

View File

@ -43,7 +43,7 @@ export class Effects {
const queryString = `authToken=${info.authToken}`;
this.rpcService.connect(queryString);
this.router.navigateByUrl(info.returnURL);
this.router.navigateByUrl(info.returnURL ? info.returnURL : '/');
})
);
@ -56,7 +56,7 @@ export class Effects {
const queryString = `authToken=${authToken}`;
this.rpcService.connect(queryString);
this.router.navigateByUrl(info.returnURL);
this.router.navigateByUrl(info.returnURL ? info.returnURL : '/');
})
);