mirror of
https://github.com/revspace/operame
synced 2024-10-31 21:47:30 +00:00
Merge pull request #8 from SanderVanhove/feat/add-rest
Extend rest cert length
This commit is contained in:
commit
b1766c1b3f
@ -496,7 +496,7 @@ void setup() {
|
|||||||
rest_interval = 1000UL * WiFiSettings.integer("operame_rest_interval", 10, 3600, 60 * 5, T.config_rest_interval);
|
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);
|
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);
|
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");
|
rest_cert.replace("\\n", "\n");
|
||||||
|
|
||||||
WiFiSettings.onConnect = [] {
|
WiFiSettings.onConnect = [] {
|
||||||
|
Loading…
Reference in New Issue
Block a user