Skip to content

Commit bcd4ff5

Browse files
authored
feat: add webui for box management #145
1 parent 0af0762 commit bcd4ff5

56 files changed

Lines changed: 7400 additions & 3 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/prerelease.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818

19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: npm
24+
cache-dependency-path: webui/package-lock.json
25+
26+
- name: Build WebUI
27+
working-directory: webui
28+
run: |
29+
npm ci
30+
npm run build
31+
1932
- name: Run build.sh
2033
run: sh build.sh
2134

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414

15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: npm
20+
cache-dependency-path: webui/package-lock.json
21+
22+
- name: Build WebUI
23+
working-directory: webui
24+
run: |
25+
npm ci
26+
npm run build
27+
1528
- name: Run build.sh
1629
run: sh build.sh
1730

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ui/node_modules/
2+
webroot/
3+
.ai_memory
4+
*.zip

box/scripts/box.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ default_outbound=direct
3535
direct_outbound=direct
3636
# Proxies under WLAN
3737

38-
proxy_outbound=
38+
proxy_outbound=""
3939
# Proxies under fixed cellular network
4040

4141
direct_outbound_list=""

0 commit comments

Comments
 (0)