This commit is contained in:
yuping
2022-12-13 14:25:42 +08:00
parent 1092cb5d3d
commit 7a45c45ca3

View File

@@ -13,7 +13,7 @@ import { viteMockServe } from 'vite-plugin-mock'
import topLevelAwait from "vite-plugin-top-level-await";
const path = require('path')
const url = 'http://111.231.196.214:30001'
const url = 'http://localhost:30001'
export default defineConfig(({ command }) =>
({
base: '/fe-student',
@@ -83,6 +83,9 @@ export default defineConfig(({ command }) =>
}, '/assessment': {
target: url,
changeOrigin: true,
},'/workSubmit': {
target: url,
changeOrigin: true,
},
}
}