mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 02:46: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 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 }) =>
|
||||
({
|
||||
base: '/fe-student',
|
||||
@@ -39,7 +39,7 @@ export default defineConfig(({ command }) =>
|
||||
server: {
|
||||
proxy: {
|
||||
'/file/upload': {
|
||||
target: 'http://u-pre.boe.com/manageApi',
|
||||
target: 'https://u.boe.com/manageApi-release',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/stu': {
|
||||
@@ -89,7 +89,7 @@ export default defineConfig(({ command }) =>
|
||||
target: url,
|
||||
changeOrigin: true,
|
||||
}, '/userbasic': {
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://u.boe.com',
|
||||
changeOrigin: true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user