Skip to content

Commit 35104f1

Browse files
committed
fix: 修复Maven构建时BASE_API环境变量设置
1 parent c5fe0a8 commit 35104f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
103103
- name: Build frontend for Maven (BASE_API=/)
104104
run: |
105-
VITE_APP_BASE_API=/ pnpm build
105+
VITE_APP_BASE_API= pnpm build
106106
env:
107-
VITE_APP_BASE_API: /
107+
VITE_APP_BASE_API: null
108108

109109
- name: Setup Java and Maven
110110
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)