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