1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00
This commit is contained in:
norbert-walter
2025-01-04 22:24:33 +01:00
parent b91f345d25
commit b142470c1d
2 changed files with 3 additions and 0 deletions

View File

@@ -394,6 +394,8 @@ void OBP60Task(GwApi *api){
}
}
// Display screenshot handler for HTTP request
// http://192.168.15.1/api/user/OBP60Task/screenshot
api->registerRequestHandler("screenshot", [api, &pageNumber, pages](AsyncWebServerRequest *request) {
doImageRequest(api, &pageNumber, pages, request);
});