mirror of
https://github.com/flying1008/OpenMico.git
synced 2023-05-22 02:45:47 +08:00
Update main.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user