10 lines
344 B
TypeScript
10 lines
344 B
TypeScript
import { Routes } from '@angular/router';
|
|
import {WatchdogTopComponent} from "./watchdog/watchdog-top/watchdog-top.component";
|
|
import {IndexComponent} from "./index/index.component";
|
|
|
|
export const routes: Routes = [
|
|
{ path: 'watchdog',component: WatchdogTopComponent },
|
|
{path: '',component:IndexComponent},
|
|
{path: '**',redirectTo:"/"}
|
|
];
|