diff --git a/data/www/index.html b/data/www/index.html index 05a185c..6535d2b 100644 --- a/data/www/index.html +++ b/data/www/index.html @@ -16,7 +16,7 @@ Settings

Network

-
+
diff --git a/platformio.ini b/platformio.ini index 10814fc..51beb84 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,6 +1,3 @@ -;[platformio] -;env_default = basic - [common] framework = arduino platform = espressif8266 @@ -12,12 +9,11 @@ lib_deps = TaskScheduler SPIFFS ArduinoJson - ArduinoOTA ESPAsyncTCP ESP8266mDNS ESP Async WebServer https://gitlab.com/wirelos/sprocket-lib.git#develop - https://gitlab.com/wirelos/sprocket-network-wifi.git + https://gitlab.com/wirelos/sprocket-network-wifi.git#next [env:basic] src_filter = +<*> - + diff --git a/src/WebConfigPlugin.cpp b/src/WebConfigPlugin.cpp index 0bfcb59..7d167d0 100644 --- a/src/WebConfigPlugin.cpp +++ b/src/WebConfigPlugin.cpp @@ -3,7 +3,7 @@ WebConfigPlugin::WebConfigPlugin(AsyncWebServer *webServer) { server = webServer; - server->serveStatic("/config.json", SPIFFS, "config.json"); + server->serveStatic("/config/wifi.json", SPIFFS, "config/wifi.json"); } void WebConfigPlugin::activate(Scheduler *userScheduler) {