Patches to use webui/dist folder instead of webui/build folder

This commit is contained in:
Andrea Bondavalli 2021-05-29 11:49:23 +02:00
parent 245e04f6c6
commit 248af78f77
6 changed files with 8 additions and 5 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Bundle webui release
run: |
cd webui/
tar -czvf ../webui.tar.gz build/
tar -czvf ../webui.tar.gz dist/
- name: Release
uses: softprops/action-gh-release@v1

View File

@ -21,6 +21,7 @@ rm -f daemon/tests/daemon-test
rm -f demo/sink-test.wav
rm -rf webui/dist
rm -rf webui/build
rm -rf webui/node_modules
rm -f webui/*.log

View File

@ -114,7 +114,7 @@ class Config {
/* from json */
uint16_t http_port_{8080};
uint16_t rtsp_port_{8854};
std::string http_base_dir_{"../webui/build"};
std::string http_base_dir_{"../webui/dist"};
int log_severity_{2};
uint32_t playout_delay_{0};
uint32_t tic_frame_size_at_1fs_{48};

View File

@ -1,7 +1,7 @@
{
"http_port": 8080,
"rtsp_port": 8854,
"http_base_dir": "../webui/build",
"http_base_dir": "../webui/dist",
"log_severity": 2,
"playout_delay": 0,
"tic_frame_size_at_1fs": 64,

View File

@ -1,7 +1,7 @@
{
"http_port": 8080,
"rtsp_port": 8854,
"http_base_dir": "./webui/build",
"http_base_dir": "./webui/dist",
"log_severity": 3,
"playout_delay": 0,
"tic_frame_size_at_1fs": 64,

2
webui/.gitignore vendored
View File

@ -8,8 +8,10 @@
# production
/build
/dist
# misc
webui.tar.gz
.DS_Store
.env
npm-debug.log*