diff --git a/galaxyui/src/app/app-routing.module.ts b/galaxyui/src/app/app-routing.module.ts index 36e9679cc..eece0b0e4 100644 --- a/galaxyui/src/app/app-routing.module.ts +++ b/galaxyui/src/app/app-routing.module.ts @@ -14,12 +14,6 @@ import { NamespaceDetailResolver, RepositoryResolver as AuthorRepositoryResolver import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const appRoutes: Routes = [ - { - path: '', - redirectTo: '/home', - pathMatch: 'full', - }, - // Lazily loaded modules { path: 'search', diff --git a/galaxyui/src/app/home/home.routing.module.ts b/galaxyui/src/app/home/home.routing.module.ts index 13e3e645f..f3ec8376c 100644 --- a/galaxyui/src/app/home/home.routing.module.ts +++ b/galaxyui/src/app/home/home.routing.module.ts @@ -7,6 +7,14 @@ import { HomeComponent } from './home.component'; import { ContentBlockResolver, VendorListResolver } from './home.resolver.service'; const homeRoutes: Routes = [ + { + path: '', + component: HomeComponent, + resolve: { + vendors: VendorListResolver, + contentBlocks: ContentBlockResolver, + }, + }, { path: 'home', component: HomeComponent,