From 78585d5823335623a1fa9a10b21c0775804851cd Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Feb 22 2019 15:36:12 +0000 Subject: Replaced FTP links with HTTPS one for mirrors Signed-off-by: Fabian Arrotin --- diff --git a/content/download/altarch-mirrors.erb b/content/download/altarch-mirrors.erb index 2a2b898..c6b0ade 100644 --- a/content/download/altarch-mirrors.erb +++ b/content/download/altarch-mirrors.erb @@ -18,14 +18,14 @@ sure that your mirror is consistent with the other mirror sites. $('#CSVTable').CSVToTable('/download/full-altarchlist.csv', { startLine: 1, - //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'FTP Location', 'Rsync Location'] + //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'HTTPS Location', 'Rsync Location'] headers: [ 'Location', 'Region', {label:'Sponsor' , items:[2 , 3]}, {label:'HomePage' , hidden:true}, 'HTTP location', - 'FTP Location', + 'HTTPS Location', 'Rsync Location' ], itemMerger: function(header , items) { @@ -44,7 +44,7 @@ $('#CSVTable').CSVToTable('/download/full-altarchlist.csv', if(item == '') return ''; switch (headerLabel) { case 'HTTP location': - case 'FTP Location': + case 'HTTPS Location': case 'Rsync Location': item = item.replace(/"/gi , ''); return '' + item + ''; diff --git a/content/download/mirrors.erb b/content/download/mirrors.erb index 80523a0..e98a325 100644 --- a/content/download/mirrors.erb +++ b/content/download/mirrors.erb @@ -19,14 +19,14 @@ If you're searching for mirrors providing AltArch content (like ppc64,ppc64le,aa $('#CSVTable').CSVToTable('/download/full-mirrorlist.csv', { startLine: 1, - //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'FTP Location', 'Rsync Location'] + //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'HTTPS Location', 'Rsync Location'] headers: [ 'Location', 'Region', {label:'Sponsor' , items:[2 , 3]}, {label:'HomePage' , hidden:true}, 'HTTP location', - 'FTP Location', + 'HTTPS Location', 'Rsync Location' ], itemMerger: function(header , items) { @@ -45,7 +45,7 @@ $('#CSVTable').CSVToTable('/download/full-mirrorlist.csv', if(item == '') return ''; switch (headerLabel) { case 'HTTP location': - case 'FTP Location': + case 'HTTPS Location': case 'Rsync Location': item = item.replace(/"/gi , ''); return '' + item + '';