Move download link replacements
This commit is contained in:
@ -155,3 +155,14 @@ function uupApiBuildMajor($build) {
|
||||
|
||||
return intval(explode('.', $build)[0]);
|
||||
}
|
||||
|
||||
function uupApiFixDownloadLink($link) {
|
||||
if($link == null)
|
||||
return null;
|
||||
|
||||
return str_replace(
|
||||
'http://tlu.dl.delivery.mp.microsoft.com',
|
||||
'https://uupdump.sf.tlu.dl.delivery.mp.microsoft.com',
|
||||
$link
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user