mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
init
This commit is contained in:
@@ -13,7 +13,7 @@ import { viteMockServe } from 'vite-plugin-mock'
|
|||||||
import topLevelAwait from "vite-plugin-top-level-await";
|
import topLevelAwait from "vite-plugin-top-level-await";
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const url = 'http://111.231.196.214:30001'
|
const url = 'http://localhost:30001'
|
||||||
export default defineConfig(({ command }) =>
|
export default defineConfig(({ command }) =>
|
||||||
({
|
({
|
||||||
base: '/fe-student',
|
base: '/fe-student',
|
||||||
@@ -83,6 +83,9 @@ export default defineConfig(({ command }) =>
|
|||||||
}, '/assessment': {
|
}, '/assessment': {
|
||||||
target: url,
|
target: url,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
},'/workSubmit': {
|
||||||
|
target: url,
|
||||||
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user