Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: 移除废弃的 mock api

This commit is contained in:
pany 2023-10-08 14:43:14 +08:00
parent c5e3684495
commit 8006a2af55
3 changed files with 0 additions and 3 deletions

View File

@ -1,7 +1,6 @@
# 生产环境自定义的环境变量(命名必须以 VITE_ 开头)
## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径)
# VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1'
VITE_BASE_API = 'https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1'
## 路由模式 hash 或 html5

View File

@ -1,7 +1,6 @@
# 预发布环境自定义的环境变量(命名必须以 VITE_ 开头)
## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径)
# VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1'
VITE_BASE_API = 'https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1'
## 路由模式 hash 或 html5

View File

@ -37,7 +37,6 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
/** 接口代理 */
proxy: {
"/api/v1": {
// target: "https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212",
target: "https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538",
ws: true,
/** 是否允许跨域 */