Просмотр исходного кода

put web stuff in data/web (where pio expects files for SPIFFS image to live)

Chris Mullins лет назад: 8
Родитель
Сommit
2b46fe9394
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 0
      data/web/index.html
  2. 1 1
      lib/Settings/Settings.h

web/index.html → data/web/index.html


+ 1 - 1
lib/Settings/Settings.h

@@ -8,7 +8,7 @@
 #define SETTINGS_FILE  "/config.json"
 #define SETTINGS_TERMINATOR '\0'
 
-#define WEB_INDEX_FILENAME "/index.html"
+#define WEB_INDEX_FILENAME "/web/index.html"
 
 class GatewayConfig {
 public: