Fine tune the admin UI.
This commit is contained in:
@@ -5,6 +5,8 @@ ApiDef customApiDefs[] = {
|
||||
{"/api/ping", "GET", "", true, handlePing, nullptr},
|
||||
{"/api/add", "POST", "", true, handleAdd, nullptr},
|
||||
{"/api/led", "POST", "", true, handleLed, nullptr},
|
||||
{"/api/uptime", "GET", "WebUIConnect", false, handleUptime, nullptr},
|
||||
{"/api/uptime/events", "GET", "WebUIConnect", false, handleUptimeEvents, nullptr},
|
||||
};
|
||||
|
||||
const size_t CUSTOM_API_DEF_COUNT = sizeof(customApiDefs) / sizeof(customApiDefs[0]);
|
||||
|
||||
Reference in New Issue
Block a user