Skip to content

Commit

Permalink
Keep embedded dist for external index.html.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Sep 12, 2022
1 parent a4e4234 commit fa2023f
Show file tree
Hide file tree
Showing 9 changed files with 767 additions and 29 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Thumbs.db
.DS_Store
*.orig
embedded/node_modules
embedded/dist
.pio
.pioenvs
.piolibdeps
Expand Down
718 changes: 718 additions & 0 deletions embedded/dist/embedded.h

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions embedded/dist/favicon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
favicon.h - ESP3D data file
Copyright (c) 2014 Luc Lebosse. All rights reserved.
This code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this code; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __favicon_h
#define __favicon_h
#define favicon_size 345
const unsigned char favicon[345] PROGMEM = {
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0xb5, 0x94, 0x31, 0x4b, 0xc3, 0x50,
0x14, 0x85, 0x4f, 0x63, 0xc1, 0x5a, 0x0b, 0x06, 0x91, 0x4e, 0x52, 0x3a, 0x44, 0x10, 0x27, 0x31,
0x45, 0xdc, 0x74, 0xea, 0xef, 0x90, 0x4c, 0x22, 0x0e, 0x22, 0xba, 0x0b, 0x4e, 0xc5, 0xb9, 0x3f,
0xc0, 0x5f, 0xd0, 0x31, 0xab, 0x8e, 0x0e, 0x4e, 0x52, 0xba, 0x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x90, 0x53, 0xb2, 0xa6, 0xde, 0x6a, 0x86, 0xe6, 0x75, 0x72, 0xe6, 0xea, 0x3e, 0x5a,
0xae, 0xf3, 0x75, 0xf5, 0xac, 0x64, 0x7d, 0xf6, 0xb5, 0x6f, 0xa9, 0xe6, 0xd9, 0xef, 0x1a, 0xcb,
0x5b, 0x2b, 0x38, 0x83, 0x6b, 0x32, 0x70, 0xfe, 0xac, 0xde, 0x40, 0xb1, 0x1f, 0x7b, 0x5f, 0x70,
0x9e, 0xb6, 0x37, 0x4d, 0x51, 0x9d, 0x27, 0xe7, 0x2f, 0xc3, 0xde, 0xbc, 0x8d, 0x7b, 0xa0, 0x75,
0x0c, 0x44, 0x5c, 0xe5, 0x64, 0x8b, 0xff, 0x19, 0x4b, 0xc0, 0xdb, 0x0a, 0x70, 0xbb, 0x00, 0xdc,
0x5d, 0x7d, 0x7b, 0x03, 0xbe, 0x89, 0x97, 0x25, 0xe0, 0x69, 0x11, 0xf8, 0xd8, 0x9f, 0xe6, 0x7e,
0x01, 0xbf, 0xe1, 0x18, 0x97, 0x7e, 0x04, 0x00, 0x00
};
#endif //__favicon_h
Binary file added embedded/dist/favicon.ico.gz
Binary file not shown.
Binary file added embedded/dist/index.html.gz
Binary file not shown.
Binary file removed embedded/server/public/favicon.ico
Binary file not shown.
28 changes: 0 additions & 28 deletions embedded/server/public/fr.json

This file was deleted.

Binary file removed embedded/server/public/index.html.gz
Binary file not shown.
1 change: 1 addition & 0 deletions esp3d/src/modules/http/http_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include "../websocket/websocket_server.h"
#if defined(SD_DEVICE)
#include "../filesystem/esp_sd.h"

#endif //SD_DEVICE
#ifdef ESP_BENCHMARK_FEATURE
#include "../../core/benchmark.h"
Expand Down

0 comments on commit fa2023f

Please sign in to comment.