Browse Source

delete unnecessary files

tags/v0.3.0
Simon Schmidt 2 years ago
parent
commit
97a6076864
6 changed files with 4 additions and 10 deletions
  1. 2
    2
      create_gz_files.py
  2. BIN
      data/compressed.html.gzip
  3. BIN
      include/http/firefox.png
  4. 0
    6
      src/main.cpp
  5. 1
    1
      webtest.cmd
  6. 1
    1
      webtest.sh

+ 2
- 2
create_gz_files.py View File

@@ -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)

BIN
data/compressed.html.gzip View File


BIN
include/http/firefox.png View File


+ 0
- 6
src/main.cpp View File

@@ -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
- 1
webtest.cmd View File

@@ -1,2 +1,2 @@
CD .\include\http
CD .\data
py.exe -m http.server

+ 1
- 1
webtest.sh View File

@@ -1,2 +1,2 @@
cd include/http
cd data
python3 -m http.server

Loading…
Cancel
Save