forked from uup-dump/api
Disable link changes to HTTPS
This commit is contained in:
parent
aeb86d4333
commit
d089aa698c
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.39.0';
|
return '1.39.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
@ -157,14 +157,7 @@ function uupApiBuildMajor($build) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function uupApiFixDownloadLink($link) {
|
function uupApiFixDownloadLink($link) {
|
||||||
if($link == null)
|
return $link;
|
||||||
return null;
|
|
||||||
|
|
||||||
return str_replace(
|
|
||||||
'http://tlu.dl.delivery.mp.microsoft.com',
|
|
||||||
'https://uupdump.sf.tlu.dl.delivery.mp.microsoft.com',
|
|
||||||
$link
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function uupApiReadJson($path) {
|
function uupApiReadJson($path) {
|
||||||
|
Loading…
Reference in New Issue
Block a user