mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
updated bit_lic/app-routing module (#6995)
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user