mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 22:48:14 +08:00
撤销https关键字
This commit is contained in:
@@ -1236,7 +1236,7 @@
|
||||
var protocol = window.location.protocol;
|
||||
var baseUrl = protocol+"//"+window.location.host;
|
||||
|
||||
HttpPost("https://ota", function (re) {
|
||||
HttpPost("/ota", function (re) {
|
||||
OtaStatus();
|
||||
}, ota_url);
|
||||
}
|
||||
@@ -1248,7 +1248,7 @@
|
||||
var protocol = window.location.protocol;
|
||||
var baseUrl = protocol+"//"+window.location.host;
|
||||
|
||||
HttpGet("https://ota", function (re) {
|
||||
HttpGet("/ota", function (re) {
|
||||
var percent = parseInt(re);
|
||||
//console.log(re + " " + parseInt(re));
|
||||
ota_status.MaterialProgress.setProgress(percent);
|
||||
|
||||
Reference in New Issue
Block a user