mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 11:56:48 +08:00
预发布环境配置修改
This commit is contained in:
@@ -14,7 +14,7 @@ import topLevelAwait from "vite-plugin-top-level-await";
|
|||||||
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
// const url = 'http://localhost:30001'
|
// const url = 'http://localhost:30001'
|
||||||
const url = 'http://111.231.196.214:12013/manageApi'
|
const url = 'https://u.boe.com/manageApi-release'
|
||||||
export default defineConfig(({ command }) =>
|
export default defineConfig(({ command }) =>
|
||||||
({
|
({
|
||||||
base: '/fe-student',
|
base: '/fe-student',
|
||||||
@@ -39,7 +39,7 @@ export default defineConfig(({ command }) =>
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/file/upload': {
|
'/file/upload': {
|
||||||
target: 'http://u-pre.boe.com/manageApi',
|
target: 'https://u.boe.com/manageApi-release',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
'/stu': {
|
'/stu': {
|
||||||
@@ -89,7 +89,7 @@ export default defineConfig(({ command }) =>
|
|||||||
target: url,
|
target: url,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
}, '/userbasic': {
|
}, '/userbasic': {
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://u.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user