1
0
mirror of https://github.com/revspace/operame synced 2024-11-01 05:57:30 +00:00

Extend rest cert length

This commit is contained in:
Sander Vanhove 2021-08-26 16:35:14 +02:00
parent 441e494844
commit 31bab2ce25

View File

@ -413,7 +413,7 @@ void setup() {
rest_interval = 1000UL * WiFiSettings.integer("operame_rest_interval", 10, 3600, 60 * 5, T.config_rest_interval);
rest_resource_id = WiFiSettings.string("rest_resource_id", 64, "", T.config_rest_resource_id);
bool rest_cert_enabled = WiFiSettings.checkbox("operame_rest_cert", false, T.config_rest_cert_enabled);
rest_cert = WiFiSettings.string("rest_cert", 2000, "", T.config_rest_cert);
rest_cert = WiFiSettings.string("rest_cert", 6000, "", T.config_rest_cert);
rest_cert.replace("\\n", "\n");
WiFiSettings.onConnect = [] {