From 359efb040908d8303714613a1014004d605b26d2 Mon Sep 17 00:00:00 2001 From: dongruihua Date: Wed, 14 Dec 2022 15:52:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E5=8F=91=E5=B8=83=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 2c9dab1..b2d951c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -14,7 +14,7 @@ import topLevelAwait from "vite-plugin-top-level-await"; const path = require('path') // const url = 'http://localhost:30001' -const url = 'http://111.231.196.214:12013/manageApi' +const url = 'https://u.boe.com/manageApi-release' export default defineConfig(({ command }) => ({ base: '/fe-student', @@ -39,7 +39,7 @@ export default defineConfig(({ command }) => server: { proxy: { '/file/upload': { - target: 'http://u-pre.boe.com/manageApi', + target: 'https://u.boe.com/manageApi-release', changeOrigin: true, }, '/stu': { @@ -89,7 +89,7 @@ export default defineConfig(({ command }) => target: url, changeOrigin: true, }, '/userbasic': { - target: 'https://u-pre.boe.com', + target: 'https://u.boe.com', changeOrigin: true, }, }