预发布环境配置修改

This commit is contained in:
dongruihua
2022-12-14 15:52:58 +08:00
parent d21d2564f4
commit 359efb0409

View File

@@ -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,
},
}