Skip to content

Commit 70b0889

Browse files
committed
fix: 更新生产和预发环境的接口地址
1 parent 050fc55 commit 70b0889

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 生产环境的环境变量(命名必须以 VITE_ 开头)
22

33
## 后端接口地址(如果解决跨域问题采用 CORS 就需要写绝对路径)
4-
VITE_BASE_URL = https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1
4+
VITE_BASE_URL = https://apifoxmock.com/m1/2930465-2145633-default/api/v1
55

66
## 打包构建静态资源公共路径(例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下就需要填写 /v3-admin-vite/)
77
VITE_PUBLIC_PATH = /v3-admin-vite/

.env.staging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 预发布环境的环境变量(命名必须以 VITE_ 开头)
22

33
## 后端接口地址(如果解决跨域问题采用 CORS 就需要写绝对路径)
4-
VITE_BASE_URL = https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1
4+
VITE_BASE_URL = https://apifoxmock.com/m1/2930465-2145633-default/api/v1
55

66
## 打包构建静态资源公共路径(例如部署到 https://un-pany.github.io/ 域名下就需要填写 /)
77
VITE_PUBLIC_PATH = /

0 commit comments

Comments
 (0)