Dependency updates and fix URL rewrites
This commit is contained in:
parent
ff50acf913
commit
41bf2480ce
2 changed files with 6 additions and 2 deletions
|
@ -15,7 +15,7 @@ default_envs = lolin_s3_mini_213epd, lolin_s3_mini_29epd, btclock_rev_b_213epd
|
|||
|
||||
|
||||
[btclock_base]
|
||||
platform = espressif32 @ ^6.6.0
|
||||
platform = espressif32 @ ^6.8.1
|
||||
framework = arduino, espidf
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder, colorize
|
||||
|
@ -33,7 +33,7 @@ build_unflags =
|
|||
lib_deps =
|
||||
https://github.com/joltwallet/esp_littlefs.git
|
||||
bblanchon/ArduinoJson@^7.1.0
|
||||
mathieucarbou/ESPAsyncWebServer @ 3.2.0
|
||||
mathieucarbou/ESPAsyncWebServer @ 3.3.1
|
||||
adafruit/Adafruit BusIO@^1.16.1
|
||||
adafruit/Adafruit MCP23017 Arduino Library@^2.3.2
|
||||
adafruit/Adafruit NeoPixel@^1.12.3
|
||||
|
|
|
@ -20,6 +20,10 @@ void setupWebserver()
|
|||
|
||||
AsyncStaticWebHandler &staticHandler = server.serveStatic("/", LittleFS, "/").setDefaultFile("index.html");
|
||||
|
||||
|
||||
server.rewrite("/convert", "/");
|
||||
server.rewrite("/api", "/");
|
||||
|
||||
if (preferences.getBool("httpAuthEnabled", DEFAULT_HTTP_AUTH_ENABLED))
|
||||
{
|
||||
staticHandler.setAuthentication(
|
||||
|
|
Loading…
Reference in a new issue