@@ -82,8 +82,6 @@ void MiLightHttpServer::handleGetLatestRelease() {
"/releases/latest"
);
- Serial.println(path);
-
// This is an ugly hack, but probably not worth optimizing. The nice way
// to do this would be to extract the content len from GitHub's response
// and stream the body to the server directly. But this would require parsing
@@ -9,9 +9,6 @@
typedef std::function<void(void)> SettingsSavedHandler;
-const char DEFAULT_INDEX_PAGE[] PROGMEM
- = "Web app not installed. Click <a href=\"/download_update/web\">here</a> to attempt to download it from GitHub.";
const char TEXT_PLAIN[] PROGMEM = "text/plain";
const char APPLICATION_JSON[] = "application/json";
@@ -13,14 +13,14 @@ board_f_cpu = 160000000L
lib_deps_builtin =
SPI
lib_deps_external =
- RF24
+ sidoh/RF24
WiFiManager
ArduinoJson
PubSubClient
https://github.com/ratkins/RGBConverter
build_flags = !python .get_version.py -DMQTT_MAX_PACKET_SIZE=200 -Idist
extra_script =
- ; .build_web.py
+ .build_web.py
# -D MQTT_DEBUG
# -D MILIGHT_UDP_DEBUG
# -D DEBUG_PRINTF