Skip to content

Commit

Permalink
mathieucarbou/WebSerialLite @ 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jun 3, 2024
1 parent 63b66c6 commit da607d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lib_deps =
mathieucarbou/MycilaTaskManager @ 3.0.8
mathieucarbou/MycilaTaskMonitor @ 3.0.1
mathieucarbou/MycilaTrafficLight @ 1.0.0
mathieucarbou/WebSerialLite @ 5.0.0
mathieucarbou/WebSerialLite @ 5.0.1
build_flags =
-D BUILD_NAME=\"$PIOENV\"
-Wall -Wextra
Expand Down
3 changes: 2 additions & 1 deletion src/init/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ Mycila::Task initConfigTask("Init Config", [](void* params) {
}

// WebSerial
WebSerialLite.begin(webServer, "/console", YASOLR_ADMIN_USERNAME, config.get(KEY_ADMIN_PASSWORD));
WebSerialLite.setAuthentication(YASOLR_ADMIN_USERNAME, config.get(KEY_ADMIN_PASSWORD).c_str());
WebSerialLite.begin(webServer, "/console");
logger.forwardTo(&WebSerialLite);

// ElegantOTA
Expand Down

0 comments on commit da607d7

Please sign in to comment.