From 91498b755707dc72fc85f4e92f813b714cefa6b2 Mon Sep 17 00:00:00 2001 From: zhx Date: Fri, 12 Jun 2026 00:03:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 ++ .env.production | 1 + Dockerfile | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .env.production diff --git a/.env.example b/.env.example index 14ea4ad..98f0519 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,3 @@ VITE_API_BASE_URL=/api +# Production GAAP API endpoint: +# VITE_API_BASE_URL=https://api-acc.global-interaction.com/api diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..e222210 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_API_BASE_URL=https://api-acc.global-interaction.com/api diff --git a/Dockerfile b/Dockerfile index 74a86df..997a8cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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