mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-08 10:26:46 +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";
|
||||
|
||||
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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user