Update main.php

This commit is contained in:
flying1008
2022-02-21 11:33:08 +08:00
committed by GitHub
parent 482ef1ed4b
commit d7497b1c00

View File

@@ -207,7 +207,7 @@ function push_firmware($get_arr){
//$data_string = json_encode($data);
//print_r($data_string);
$url = "http://api2.mina.mi.com/remote/ota/v2";
$url = "http://api.mina.mi.com/remote/ota/v2";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
@@ -241,4 +241,4 @@ switch($action) {
push_firmware($_GET);
break;
}
?>
?>