Skip to content

Commit

Permalink
fix: 更新生产和预发环境的接口地址
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Feb 10, 2025
1 parent 050fc55 commit 70b0889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 生产环境的环境变量(命名必须以 VITE_ 开头)

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

## 打包构建静态资源公共路径(例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下就需要填写 /v3-admin-vite/)
VITE_PUBLIC_PATH = /v3-admin-vite/
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 预发布环境的环境变量(命名必须以 VITE_ 开头)

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

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

0 comments on commit 70b0889

Please sign in to comment.