From d7497b1c00643f129b7cf0fe8a634591f63362b0 Mon Sep 17 00:00:00 2001 From: flying1008 Date: Mon, 21 Feb 2022 11:33:08 +0800 Subject: [PATCH] Update main.php --- OpenMico-Web/php/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenMico-Web/php/main.php b/OpenMico-Web/php/main.php index 2e90888..f626b15 100644 --- a/OpenMico-Web/php/main.php +++ b/OpenMico-Web/php/main.php @@ -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; } -?> \ No newline at end of file +?>