Skip to content

Commit

Permalink
route was missing from root
Browse files Browse the repository at this point in the history
  • Loading branch information
sefatanam committed Nov 10, 2022
1 parent 8d4dcd2 commit 684f39b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AppComponent } from './app.component';

const routes: Routes = [];
const routes: Routes = [
{
path: '/',
component: AppComponent
},
{
path: '**',
component: AppComponent
}
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
export class AppRoutingModule {}

0 comments on commit 684f39b

Please sign in to comment.