修改接口地址

This commit is contained in:
zhx 2026-06-12 00:03:58 +08:00
parent 4b16f93930
commit 91498b7557
3 changed files with 4 additions and 1 deletions

View File

@ -1 +1,3 @@
VITE_API_BASE_URL=/api
# Production GAAP API endpoint:
# VITE_API_BASE_URL=https://api-acc.global-interaction.com/api

1
.env.production Normal file
View File

@ -0,0 +1 @@
VITE_API_BASE_URL=https://api-acc.global-interaction.com/api

View File

@ -9,7 +9,7 @@ RUN pnpm install --frozen-lockfile
COPY . .
ARG VITE_API_BASE_URL=/api
ARG VITE_API_BASE_URL=https://api-acc.global-interaction.com/api
ENV VITE_API_BASE_URL=${VITE_API_BASE_URL}
RUN pnpm build