mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
optimize endpoints, so re-use where possible
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
#define EMSESP_SETTINGS_SERVICE_PATH "/rest/settings"
|
||||
#define EMSESP_BOARD_PROFILE_SERVICE_PATH "/rest/boardProfile"
|
||||
#define EMSESP_GET_SETTINGS_PATH "/rest/getSettings"
|
||||
|
||||
namespace emsesp {
|
||||
|
||||
@@ -136,7 +135,6 @@ class WebSettingsService : public StatefulService<WebSettings> {
|
||||
FSPersistence<WebSettings> _fsPersistence;
|
||||
|
||||
void board_profile(AsyncWebServerRequest * request);
|
||||
void getSettings(AsyncWebServerRequest * request);
|
||||
|
||||
void onUpdate();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user