Add grove-dl route and corresponding redirect to MediaFire folder in RedirectComponent

This commit is contained in:
stijn committed 2025-11-15 20:50:18 +01:00
1 parent 07048567a1
commit ec3435dccc
2 files changed
+6

No files matched your search

+5
View File
@@ -7,6 +7,11 @@ export const routes: Routes = [
redirectTo: 'redirect/worlddl',
pathMatch: 'full'
},
{
path: 'grove-dl',
redirectTo: 'redirect/grove-dl',
pathMatch: 'full'
},
{
path: 'redirect/:type',
loadComponent: () => import('./shared-components/redirect/redirect.component').then(m => m.RedirectComponent),
@@ -12,6 +12,7 @@ export class RedirectComponent implements OnInit {
private route: ActivatedRoute = inject(ActivatedRoute)
private map: Record<string, string> = {
'worlddl': 'https://www.mediafire.com/folder/zblzjurjleq6i/Altitude_servers_1.17.1',
'grove-dl': 'https://www.mediafire.com/folder/bd6ej1i7if0y6',
};
private getRedirectTarget(key: string): string | null {