source:
src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts@
f9983f5
Last change on this file since f9983f5 was e6a6d9a, checked in by , 3 years ago | |
---|---|
|
|
File size: 299 bytes |
Rev | Line | |
---|---|---|
[e6a6d9a] | 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.