source:
src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts@
5cbb557
Last change on this file since 5cbb557 was e6a6d9a, checked in by , 3 years ago | |
---|---|
|
|
File size: 299 bytes |
Line | |
---|---|
1 | import { NgModule } from '@angular/core'; |
2 | import { Routes, RouterModule } from '@angular/router'; |
3 | |
4 | const routes: Routes = [ |
5 | { |
6 | path: '**', |
7 | redirectTo: 'public/home' |
8 | } |
9 | ]; |
10 | |
11 | @NgModule({ |
12 | imports: [RouterModule.forRoot(routes)], |
13 | exports: [RouterModule] |
14 | }) |
15 | export class AppRoutingModule {} |
Note:
See TracBrowser
for help on using the repository browser.