summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-08-21 10:46:07 +0300
committerMarin Ivanov <[email protected]>2024-08-21 10:46:07 +0300
commita9ba463ba6d32d45ff01ccc0adc4122414e64a60 (patch)
tree1ea0813572e22c4c7d873acf2574e78670862772 /build.py
parent78928c51e835cc3e460fc49d0a891e921ad17247 (diff)
fix network config
Diffstat (limited to 'build.py')
-rw-r--r--build.py3
1 files changed, 1 insertions, 2 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;