mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
updated bit_lic/app-routing module (#6995)
This commit is contained in:
parent
9f81f66e2c
commit
a342ce5d9a
@ -1,11 +1,14 @@
|
|||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
import { RouterModule, Routes } from "@angular/router";
|
import { RouterModule, Routes } from "@angular/router";
|
||||||
|
|
||||||
|
import { deepLinkGuard } from "@bitwarden/web-vault/app/auth/guards/deep-link.guard";
|
||||||
|
|
||||||
import { ProvidersModule } from "./admin-console/providers/providers.module";
|
import { ProvidersModule } from "./admin-console/providers/providers.module";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: "providers",
|
path: "providers",
|
||||||
|
canActivate: [deepLinkGuard()],
|
||||||
loadChildren: () => ProvidersModule,
|
loadChildren: () => ProvidersModule,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user