Skip to content
Snippets Groups Projects
Commit 1d284916 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add internal routes

parent 5e00137f
No related branches found
No related tags found
1 merge request!538Internal Applications
import {Routes} from '@angular/router';
import {devAwsRoutes} from './aws/aws.routes';
import {networkGuard} from './shared/guards/network.guard';
/**
* Internal application routes.
*/
const routes: Routes = [
// Development dahsboard
{
loadComponent: () =>
import('./dashboard/app.component').then(com => com.AppComponent),
path: '',
},
// AWS applications
{
canActivate: [networkGuard],
children: devAwsRoutes(),
path: 'aws',
},
];
/**
* Returns the internal applications routes.
*/
export function internalRoutes(): Routes {
return routes;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment