summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.py3
-rw-r--r--config.toml2
2 files changed, 2 insertions, 3 deletions
diff --git a/build.py b/build.py
index ea11922..aed02d4 100644
--- a/build.py
+++ b/build.py
@@ -21,8 +21,7 @@ index = index.replace('<script src="app.js"></script>', f'<script>config={config
data = zlib.compress(index.encode('utf-8'))
out = ', '.join(hex(x) for x in data)
print(f"""
-#include <avr/pgmspace.h>
-#include "webif-fs.h"
+#include "webif-index.h"
static const char index_html[] PROGMEM = {{ {out} }};
PGM_P index_html_data = index_html;
diff --git a/config.toml b/config.toml
index f5546a7..f38ee4c 100644
--- a/config.toml
+++ b/config.toml
@@ -31,7 +31,7 @@ invalidmsg = "Enter network mask. E.g. 255.255.255.0"
required = true
[[sections.network.fields]]
-id = "gateway"
+id = "gwaddr"
type = "ip"
title = "Gateway"
pattern = "\\d+.\\d+.\\d+.\\d+"