From daca1d80f76f4b36ac5d3e045a9fdb319dfe5b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Fri, 24 Mar 2023 10:55:45 +0800 Subject: [PATCH] env --- config/index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/index.js b/config/index.js index 8236034..bdc6d1c 100644 --- a/config/index.js +++ b/config/index.js @@ -11,16 +11,15 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'http://192.168.50.39:8088', - - changeOrigin: true, + target: 'http://127.0.0.1/', + changeOrigin: true, pathRewrite: { '^/api': '' } }, '/file': { - target: 'http://192.168.50.39:8088/', - changeOrigin: true, + target: 'http://127.0.0.1/', + changeOrigin: true, pathRewrite: { '^/file': '' }