Skip to content

Commit 0a2d343

Browse files
committed
build: 📦️ switch mock address
1 parent 37e243c commit 0a2d343

File tree

4 files changed

+7561
-6000
lines changed

4 files changed

+7561
-6000
lines changed

.env.development

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ VITE_PWA = false
1414
VITE_API_URL = /api
1515

1616
# 开发环境跨域代理,支持配置多个
17-
VITE_PROXY = [["/api","https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"]]
18-
# VITE_PROXY = [["/api","https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"]]
17+
# VITE_PROXY = [["/api","https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"]]
18+
VITE_PROXY = [["/api","https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"]]
1919
# VITE_PROXY = [["/api-easymock","https://mock.mengxuegu.com"],["/api-fastmock","https://www.fastmock.site"]]

.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ VITE_DROP_CONSOLE = true
1818
VITE_PWA = true
1919

2020
# 线上环境接口地址
21-
VITE_API_URL = "https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"
21+
VITE_API_URL = "https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@
9494
"stylelint-config-standard-scss": "^10.0.0",
9595
"typescript": "^5.1.6",
9696
"unplugin-vue-setup-extend-plus": "^1.0.0",
97-
"vite": "^4.4.2",
97+
"vite": "^4.4.4",
9898
"vite-plugin-compression": "^0.5.1",
9999
"vite-plugin-eslint": "^1.8.1",
100100
"vite-plugin-html": "^3.2.0",
101101
"vite-plugin-pwa": "^0.16.4",
102102
"vite-plugin-svg-icons": "^2.0.1",
103-
"vue-tsc": "^1.8.4"
103+
"vue-tsc": "^1.8.5"
104104
},
105105
"engines": {
106106
"node": ">=16.0.0"

0 commit comments

Comments
 (0)