Skip to content

Commit

Permalink
mathieucarbou/WebSerialLite @ 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jun 3, 2024
1 parent 1ad548a commit 65c5592
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/YaSolR.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <ESPAsyncWebServer.h>
#include <HardwareSerial.h>
#include <LittleFS.h>
#include <WebSerialLite.h>
#include <WebSerial.h>

#include <MycilaAppInfo.h>
#include <MycilaConfig.h>
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ build_flags =
[oss]
build_flags = -D APP_MODEL_OSS
lib_deps =
mathieucarbou/WebSerialLite @ 5.0.2
mathieucarbou/WebSerialLite @ 6.0.0
ayushsharma82/ElegantOTA @ 3.1.1
; ayushsharma82/ESP-DASH @ 4.0.4
https://github.com/mathieucarbou/ayushsharma82-ESP-DASH#dev
Expand Down
10 changes: 5 additions & 5 deletions src/init/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ Mycila::Task initConfigTask("Init Config", [](void* params) {

// WebSerial
#ifdef APP_MODEL_PRO
WebSerialLite.setID(Mycila::AppInfo.firmware.c_str());
WebSerialLite.setTitle((Mycila::AppInfo.name + " Web Console").c_str());
WebSerial.setID(Mycila::AppInfo.firmware.c_str());
WebSerial.setTitle((Mycila::AppInfo.name + " Web Console").c_str());
#endif
WebSerialLite.setAuthentication(YASOLR_ADMIN_USERNAME, config.get(KEY_ADMIN_PASSWORD).c_str());
WebSerialLite.begin(&webServer, "/console");
logger.forwardTo(&WebSerialLite);
WebSerial.setAuthentication(YASOLR_ADMIN_USERNAME, config.get(KEY_ADMIN_PASSWORD).c_str());
WebSerial.begin(&webServer, "/console");
logger.forwardTo(&WebSerial);

// ElegantOTA
#ifdef APP_MODEL_PRO
Expand Down

0 comments on commit 65c5592

Please sign in to comment.