fix:修改在线案例考试测评跳转

This commit is contained in:
lixg
2022-12-15 11:49:39 +08:00
parent 1e21f20508
commit 333c87befa
10 changed files with 107 additions and 64 deletions

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-11-21 17:28:10
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2022-12-13 20:49:00
* @LastEditTime: 2022-12-15 10:22:25
* @FilePath: /fe-stu/vite.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -13,8 +13,8 @@ import { viteMockServe } from 'vite-plugin-mock'
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 = 'http://localhost:30001'
const url = 'http://111.231.196.214:12013/manageApi'
export default defineConfig(({ command }) =>
({
base: '/fe-student',
@@ -91,6 +91,9 @@ export default defineConfig(({ command }) =>
}, '/userbasic': {
target: 'https://u-pre.boe.com',
changeOrigin: true,
}, '/link': {
target: url,
changeOrigin: true,
},
}
}