mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
debug bg get on launch
This commit is contained in:
@@ -14,6 +14,8 @@ export class LaunchGuardService implements CanActivate {
|
|||||||
constructor(private cryptoService: CryptoService, private userService: UserService, private router: Router) { }
|
constructor(private cryptoService: CryptoService, private userService: UserService, private router: Router) { }
|
||||||
|
|
||||||
async canActivate() {
|
async canActivate() {
|
||||||
|
console.log('bg:');
|
||||||
|
console.log(BrowserApi.getBackgroundPage());
|
||||||
if (BrowserApi.getBackgroundPage() == null) {
|
if (BrowserApi.getBackgroundPage() == null) {
|
||||||
this.router.navigate(['private-mode']);
|
this.router.navigate(['private-mode']);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user