mirror of https://github.com/apache/archiva.git
Changing routing
This commit is contained in:
parent
4ccd40b23e
commit
bd8bcfb96c
|
@ -35,8 +35,6 @@ const routes: Routes = [
|
||||||
{path:'repo/browse', component: BrowseComponent},
|
{path:'repo/browse', component: BrowseComponent},
|
||||||
{path:'repo/upload', component: UploadComponent},
|
{path:'repo/upload', component: UploadComponent},
|
||||||
{path:'', redirectTo:'repo/search', pathMatch:'full'},
|
{path:'', redirectTo:'repo/search', pathMatch:'full'},
|
||||||
{path:'**', component: NotFoundComponent}
|
|
||||||
|
|
||||||
]},
|
]},
|
||||||
{ path: 'contact', component: ContactComponent },
|
{ path: 'contact', component: ContactComponent },
|
||||||
{ path: 'about', component: AboutComponent },
|
{ path: 'about', component: AboutComponent },
|
||||||
|
|
Loading…
Reference in New Issue