diff --git a/vue.config.js b/vue.config.js index dd5b1af5..fb1e86d9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-02-24 09:03:55 + * @LastEditTime: 2022-12-14 17:38:38 * @FilePath: /fe-manage/vue.config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -15,8 +15,7 @@ module.exports = defineConfig({ port: 8070, proxy: { "/manageApi": { - // target: 'http:' + process.env.VUE_APP_PROXY_URL, - target: 'http://localhost:30001', + target: 'http:' + process.env.VUE_APP_PROXY_URL, changeOrigin: true, //表示是否改变原域名 pathRewrite: { "^/manageApi": "",