@@ -28,8 +28,8 @@ def convert_to_gzip(src, out, f): | |||
f_out.write(top.encode(encoding='utf-8')) | |||
src='include/http/' | |||
out='include/' | |||
src='data/' | |||
out='compress/' | |||
for f in os.listdir(src): | |||
convert_to_gzip(src, out, f) |
@@ -21,18 +21,12 @@ extern "C" { | |||
#include "httpserver.h" | |||
#include "index.html.gz.h" | |||
#include "style.css.gz.h" | |||
#include "favicon.png.gz.h" | |||
// images are possible | |||
const char* ssid = STASSID; | |||
const char* password = STAPSK; | |||
os_timer_t timer1; | |||
int timer_arg; | |||
void setup_webserver(); | |||
void setup_ota(); | |||
void setup_pwm_pca9685(); | |||
void handleNotFound(); |
@@ -1,2 +1,2 @@ | |||
CD .\include\http | |||
CD .\data | |||
py.exe -m http.server |
@@ -1,2 +1,2 @@ | |||
cd include/http | |||
cd data | |||
python3 -m http.server |