Files
cbsnexora/src/app/app-routing.module.ts
T
Ralph HopmanandAdam Saghy cac1d11ad7 build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
2025-01-15 11:59:30 +00:00

29 lines
588 B
TypeScript

/** Angular Imports */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
// Not Found Component
import { NotFoundComponent } from './not-found/not-found.component';
/**
* Fallback to this route when no prior route is matched.
*/
const routes: Routes = [
{
path: '**',
component: NotFoundComponent
}
];
/**
* App Routing Module.
*
* Configures the fallback route.
*/
@NgModule({
imports: [RouterModule.forRoot(routes, { useHash: true })],
exports: [RouterModule],
providers: []
})
export class AppRoutingModule {}