Fix LMS plugin availability check. As I removed the download by ID, this needs a tweak on the UI/JS side.

This commit is contained in:
Michael Herger
2021-04-17 06:31:28 +02:00
parent 36571d3dad
commit f96d06912f
21 changed files with 68 additions and 58 deletions

View File

@@ -1496,7 +1496,8 @@ function checkStatus() {
const baseUrl = 'http://' + data.lms_ip + ':' + data.lms_port;
prevLMSIP=data.lms_ip;
$.ajax({
url: baseUrl + '/plugins/SqueezeESP32/firmware/-99',
url: baseUrl + '/plugins/SqueezeESP32/firmware/-check.bin',
type: 'HEAD',
dataType: 'text',
cache: false,
error: function() {