Some adjustmenst

This commit is contained in:
Gunnar Skjold
2022-06-23 20:22:15 +02:00
parent a5d1a2c0ee
commit 648cac0b06
3 changed files with 1 additions and 4 deletions

View File

@@ -1312,8 +1312,6 @@ void MQTT_connect() {
} }
#if defined(ESP8266) #if defined(ESP8266)
mqttSecureClient->setBufferSizes(512, 512); mqttSecureClient->setBufferSizes(512, 512);
//debugE("ESP8266 does not have enough RAM to SSL");
//return;
#endif #endif
if(LittleFS.begin()) { if(LittleFS.begin()) {

View File

@@ -497,7 +497,6 @@ void AmsWebServer::configMqttHtml() {
} }
html.replace("{f255}", mqtt.payloadFormat == 255 ? "selected" : ""); html.replace("{f255}", mqtt.payloadFormat == 255 ? "selected" : "");
html.replace("{sd}", ""); // Could be used to hide SSL config with "d-none"
html.replace("{s}", mqtt.ssl ? "checked" : ""); html.replace("{s}", mqtt.ssl ? "checked" : "");
if(LittleFS.begin()) { if(LittleFS.begin()) {

View File

@@ -74,7 +74,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="my-3 p-3 bg-white rounded shadow {sd}"> <div class="my-3 p-3 bg-white rounded shadow">
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">
<label class="m-2"><input id="s" type="checkbox" name="s" value="true" {s}/> SSL</label> <label class="m-2"><input id="s" type="checkbox" name="s" value="true" {s}/> SSL</label>