撤销https关键字

This commit is contained in:
吴永福
2025-03-20 10:39:46 +08:00
parent 9df4b8358b
commit 13df06e546
2 changed files with 3 additions and 3 deletions

View File

@@ -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);