Patches to use webui/dist folder instead of webui/build folder
This commit is contained in:
parent
245e04f6c6
commit
248af78f77
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Bundle webui release
|
- name: Bundle webui release
|
||||||
run: |
|
run: |
|
||||||
cd webui/
|
cd webui/
|
||||||
tar -czvf ../webui.tar.gz build/
|
tar -czvf ../webui.tar.gz dist/
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
@ -21,6 +21,7 @@ rm -f daemon/tests/daemon-test
|
|||||||
|
|
||||||
rm -f demo/sink-test.wav
|
rm -f demo/sink-test.wav
|
||||||
|
|
||||||
|
rm -rf webui/dist
|
||||||
rm -rf webui/build
|
rm -rf webui/build
|
||||||
rm -rf webui/node_modules
|
rm -rf webui/node_modules
|
||||||
rm -f webui/*.log
|
rm -f webui/*.log
|
||||||
|
@ -114,7 +114,7 @@ class Config {
|
|||||||
/* from json */
|
/* from json */
|
||||||
uint16_t http_port_{8080};
|
uint16_t http_port_{8080};
|
||||||
uint16_t rtsp_port_{8854};
|
uint16_t rtsp_port_{8854};
|
||||||
std::string http_base_dir_{"../webui/build"};
|
std::string http_base_dir_{"../webui/dist"};
|
||||||
int log_severity_{2};
|
int log_severity_{2};
|
||||||
uint32_t playout_delay_{0};
|
uint32_t playout_delay_{0};
|
||||||
uint32_t tic_frame_size_at_1fs_{48};
|
uint32_t tic_frame_size_at_1fs_{48};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"http_port": 8080,
|
"http_port": 8080,
|
||||||
"rtsp_port": 8854,
|
"rtsp_port": 8854,
|
||||||
"http_base_dir": "../webui/build",
|
"http_base_dir": "../webui/dist",
|
||||||
"log_severity": 2,
|
"log_severity": 2,
|
||||||
"playout_delay": 0,
|
"playout_delay": 0,
|
||||||
"tic_frame_size_at_1fs": 64,
|
"tic_frame_size_at_1fs": 64,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"http_port": 8080,
|
"http_port": 8080,
|
||||||
"rtsp_port": 8854,
|
"rtsp_port": 8854,
|
||||||
"http_base_dir": "./webui/build",
|
"http_base_dir": "./webui/dist",
|
||||||
"log_severity": 3,
|
"log_severity": 3,
|
||||||
"playout_delay": 0,
|
"playout_delay": 0,
|
||||||
"tic_frame_size_at_1fs": 64,
|
"tic_frame_size_at_1fs": 64,
|
||||||
|
2
webui/.gitignore
vendored
2
webui/.gitignore
vendored
@ -8,8 +8,10 @@
|
|||||||
|
|
||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
|
/dist
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
webui.tar.gz
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user