mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
autoformatting
This commit is contained in:
@@ -308,7 +308,8 @@ bool WebStatusService::getCustomSupport(JsonObject root) {
|
|||||||
|
|
||||||
#if defined(EMSESP_STANDALONE)
|
#if defined(EMSESP_STANDALONE)
|
||||||
// dummy test data for "test api3"
|
// dummy test data for "test api3"
|
||||||
deserializeJson(doc, "{\"type\":\"customSupport\",\"Support\":{\"html\":[\"html code\",\"here\"], \"img_url\": \"https://docs.emsesp.org/_media/images/designer.png\"}");
|
deserializeJson(
|
||||||
|
doc, "{\"type\":\"customSupport\",\"Support\":{\"html\":[\"html code\",\"here\"], \"img_url\": \"https://docs.emsesp.org/_media/images/designer.png\"}");
|
||||||
#else
|
#else
|
||||||
// check if we have custom support file uploaded
|
// check if we have custom support file uploaded
|
||||||
File file = LittleFS.open(EMSESP_CUSTOMSUPPORT_FILE, "r");
|
File file = LittleFS.open(EMSESP_CUSTOMSUPPORT_FILE, "r");
|
||||||
|
|||||||
Reference in New Issue
Block a user