This commit is contained in:
2
.env
2
.env
@@ -9,7 +9,7 @@ VITE_PORT=3006
|
||||
VITE_BASE_URL=
|
||||
|
||||
# API 地址前缀
|
||||
VITE_API_URL=https://cmp-api.xm-iot.cn
|
||||
VITE_API_URL=https://cmp-api.boss160.cn
|
||||
|
||||
# 权限模式( frontend | backend )
|
||||
VITE_ACCESS_MODE=backend
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
VITE_BASE_URL=/
|
||||
|
||||
# API 地址前缀
|
||||
VITE_API_URL=https://cmp-api.xm-iot.cn
|
||||
VITE_API_URL=https://cmp-api.boss160.cn
|
||||
|
||||
# Delete console
|
||||
VITE_DROP_CONSOLE = false
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
VITE_BASE_URL=
|
||||
|
||||
# API 地址前缀
|
||||
VITE_API_URL=https://cmp-api.xm-iot.cn
|
||||
VITE_API_URL=https://cmp-api.boss160.cn
|
||||
|
||||
# Delete console
|
||||
VITE_DROP_CONSOLE=true
|
||||
|
||||
@@ -10,7 +10,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
WORKDIR /build
|
||||
|
||||
# 安装 pnpm
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
RUN corepack enable && corepack prepare pnpm@10.15.0 --activate
|
||||
|
||||
# 设置 npm 镜像源
|
||||
RUN pnpm config set registry https://registry.npmmirror.com
|
||||
|
||||
Reference in New Issue
Block a user