diff --git a/vite.config.js b/vite.config.js index 226f713..03abd4b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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, }, } }