Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchentong committed Jul 23, 2024
1 parent ec68ae5 commit 7de3c6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PNPM_VERSION=9.5.0
ENV APP_PATH=/app

ARG GATEWAY
ENV VITE_HTTP_GATEWAY = ${GATEWAY}
ENV VITE_HTTP_GATEWAY=${GATEWAY}
# -设置工作目录
WORKDIR $APP_PATH
# 安装基础包
Expand Down
2 changes: 1 addition & 1 deletion src/config/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const appConfig = {
title: '应用名称',
http: {
gateway: import.meta.env.VITE_HTTP_GATEWAY,
gateway: import.meta.env.VITE_HTTP_GATEWAY as string,
},
}

0 comments on commit 7de3c6f

Please sign in to comment.