File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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/)
77VITE_PUBLIC_PATH = /v3-admin-vite/
Original file line number Diff line number Diff line change 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/ 域名下就需要填写 /)
77VITE_PUBLIC_PATH = /
You can’t perform that action at this time.
0 commit comments