Phase D: Configure routing with root redirect to /map
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { MapComponent } from './map/map';
|
||||
|
||||
export const routes: Routes = [];
|
||||
export const routes: Routes = [
|
||||
{ path: '', redirectTo: '/map', pathMatch: 'full' },
|
||||
{ path: 'map', component: MapComponent }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user