Removed old component
This commit is contained in:
parent
358266e48f
commit
252cd40637
@ -1,12 +1,10 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { Routes, RouterModule } from '@angular/router';
|
import { Routes, RouterModule } from '@angular/router';
|
||||||
import {NotFoundComponent} from "./404/404.component";
|
|
||||||
import {MapComponent} from "./map/map.component";
|
import {MapComponent} from "./map/map.component";
|
||||||
import {HomeComponent} from "./home/home.component";
|
import {HomeComponent} from "./home/home.component";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{path: '', pathMatch: 'full', component: HomeComponent},
|
{path: '', pathMatch: 'full', component: HomeComponent},
|
||||||
{path: '404', component: NotFoundComponent},
|
|
||||||
{path: '**', component: MapComponent}
|
{path: '**', component: MapComponent}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user