Add grove-dl route and corresponding redirect to MediaFire folder in RedirectComponent
This commit is contained in:
parent
07048567a1
commit
ec3435dccc
|
|
@ -7,6 +7,11 @@ export const routes: Routes = [
|
||||||
redirectTo: 'redirect/worlddl',
|
redirectTo: 'redirect/worlddl',
|
||||||
pathMatch: 'full'
|
pathMatch: 'full'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'grove-dl',
|
||||||
|
redirectTo: 'redirect/grove-dl',
|
||||||
|
pathMatch: 'full'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'redirect/:type',
|
path: 'redirect/:type',
|
||||||
loadComponent: () => import('./shared-components/redirect/redirect.component').then(m => m.RedirectComponent),
|
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 route: ActivatedRoute = inject(ActivatedRoute)
|
||||||
private map: Record<string, string> = {
|
private map: Record<string, string> = {
|
||||||
'worlddl': 'https://www.mediafire.com/folder/zblzjurjleq6i/Altitude_servers_1.17.1',
|
'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 {
|
private getRedirectTarget(key: string): string | null {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user