Skip to content

Commit b06100c

Browse files
authored
fix: fix deploy obs (#153)
1 parent 4220e70 commit b06100c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy-obs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
export NODE_OPTIONS="--max-old-space-size=8192"
4343
pnpm -F tiny-pro-vue build
4444
env:
45-
VITE_BASE: //res-static.opentiny.design/tiny-pro-vue/${{ env.VERSION }}/
45+
VITE_BASE: //res-static.opentiny.design/tiny-pro-vue/${{ env.VERSION }}/vue-pro/pages/
4646
VITE_OUT_DIR: ../dist/vue-pro/pages
4747
- name: Copy files
4848
run: |

template/tinyvue/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VITE_CONTEXT=/vue-pro/
2-
VITE_BASE_API=/api
2+
VITE_BASE_API=/tiny-pro-vue/api
33
VITE_SERVER_HOST= http://127.0.0.1:3000
44
VITE_MOCK_HOST= http://127.0.0.1:8848
55
VITE_USE_MOCK= false

0 commit comments

Comments
 (0)