diff options
| author | Marin Ivanov <[email protected]> | 2024-08-21 10:46:07 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-08-21 10:46:07 +0300 |
| commit | a9ba463ba6d32d45ff01ccc0adc4122414e64a60 (patch) | |
| tree | 1ea0813572e22c4c7d873acf2574e78670862772 | |
| parent | 78928c51e835cc3e460fc49d0a891e921ad17247 (diff) | |
fix network config
| -rw-r--r-- | build.py | 3 | ||||
| -rw-r--r-- | config.toml | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -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+" |
