From 7a45c45ca3e05d03b5763f658bf141dba145a1ec Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Tue, 13 Dec 2022 14:25:42 +0800 Subject: [PATCH] init --- vite.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, }, } }