updated https
This commit is contained in:
parent
1ed3a64ade
commit
b4174d09bf
|
@ -124,7 +124,7 @@ th { /* header cell */
|
|||
<td>{{Serial}}</td>
|
||||
<td>{{NumBatteries}}</td>
|
||||
<td>{{BatteryVersion}}</td>
|
||||
<td><a target='_blank' href=http://{{ServerIp}}/UpdateBatteryFirmware/{{Ip}}/{{NumBatteries}}>⬆️{{FirmwareVersion}}</a></td>
|
||||
<td><a target='_blank' href=https://{{ServerIp}}/UpdateBatteryFirmware/{{Ip}}/{{NumBatteries}}>⬆️{{FirmwareVersion}}</a></td>
|
||||
</tr>";
|
||||
|
||||
var installationsInDb = Db.Installations.OrderBy(i => i.Name, StringComparer.OrdinalIgnoreCase).ToList();
|
||||
|
@ -163,7 +163,7 @@ th { /* header cell */
|
|||
}
|
||||
|
||||
|
||||
[HttpGet("updatebatteryfirmware/{installationIp}/{numberOfBatteries}")]
|
||||
[HttpGet("UpdateBatteryFirmware/{installationIp}/{numberOfBatteries}")]
|
||||
public async Task<String> UpdateBatteryFirmware(String installationIp, String numberOfBatteries)
|
||||
{
|
||||
//We need the DeviceName of the battery (ttyUSB?)
|
||||
|
@ -194,7 +194,7 @@ th { /* header cell */
|
|||
|
||||
// Console.WriteLine(remoteUpdateCommandResult);
|
||||
}
|
||||
return "Battery update is successfully initiated! You can close this page now.";
|
||||
return "Battery update is successfully initiated, it will take around 15 minutes to complete! You can close this page now.";
|
||||
}
|
||||
|
||||
private static async Task UpdateVrmTagsToNewFirmware(String installationIp)
|
||||
|
|
Loading…
Reference in New Issue