mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-10 16:59:52 +01:00
Rename data folder to webapp_dist
This commit is contained in:
Binary file not shown.
@@ -20,7 +20,7 @@ platform = espressif32
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D=${PIOENV}
|
||||
-DCOMPONENT_EMBED_FILES=data/index.html.gz:data/zones.json.gz:data/favicon.ico:data/js/app.js.gz
|
||||
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz
|
||||
|
||||
lib_deps =
|
||||
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#include "WebApi_webapp.h"
|
||||
|
||||
extern const uint8_t file_index_html_start[] asm("_binary_data_index_html_gz_start");
|
||||
extern const uint8_t file_favicon_ico_start[] asm("_binary_data_favicon_ico_start");
|
||||
extern const uint8_t file_zones_json_start[] asm("_binary_data_zones_json_gz_start");
|
||||
extern const uint8_t file_app_js_start[] asm("_binary_data_js_app_js_gz_start");
|
||||
extern const uint8_t file_index_html_start[] asm("_binary_webapp_dist_index_html_gz_start");
|
||||
extern const uint8_t file_favicon_ico_start[] asm("_binary_webapp_dist_favicon_ico_start");
|
||||
extern const uint8_t file_zones_json_start[] asm("_binary_webapp_dist_zones_json_gz_start");
|
||||
extern const uint8_t file_app_js_start[] asm("_binary_webapp_dist_js_app_js_gz_start");
|
||||
|
||||
extern const uint8_t file_index_html_end[] asm("_binary_data_index_html_gz_end");
|
||||
extern const uint8_t file_favicon_ico_end[] asm("_binary_data_favicon_ico_end");
|
||||
extern const uint8_t file_zones_json_end[] asm("_binary_data_zones_json_gz_end");
|
||||
extern const uint8_t file_app_js_end[] asm("_binary_data_js_app_js_gz_end");
|
||||
extern const uint8_t file_index_html_end[] asm("_binary_webapp_dist_index_html_gz_end");
|
||||
extern const uint8_t file_favicon_ico_end[] asm("_binary_webapp_dist_favicon_ico_end");
|
||||
extern const uint8_t file_zones_json_end[] asm("_binary_webapp_dist_zones_json_gz_end");
|
||||
extern const uint8_t file_app_js_end[] asm("_binary_webapp_dist_js_app_js_gz_end");
|
||||
|
||||
void WebApiWebappClass::init(AsyncWebServer* server)
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ const { defineConfig } = require('@vue/cli-service')
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true,
|
||||
productionSourceMap: false,
|
||||
outputDir: '../data',
|
||||
outputDir: '../webapp_dist',
|
||||
filenameHashing: false,
|
||||
css: {
|
||||
extract: false,
|
||||
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
BIN
webapp_dist/js/app.js.gz
Normal file
BIN
webapp_dist/js/app.js.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user