From 4b6d4053687ce545257afd647a94aad409c1591b Mon Sep 17 00:00:00 2001 From: Romesum Date: Tue, 28 Apr 2020 18:04:22 +0800 Subject: [PATCH] =?UTF-8?q?[fix][V]=EF=BC=9A=E8=BF=98=E5=8E=9F=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E4=BD=BF=E7=94=A8=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- element-vue/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/element-vue/webpack.config.js b/element-vue/webpack.config.js index 45e6e83..5604adb 100644 --- a/element-vue/webpack.config.js +++ b/element-vue/webpack.config.js @@ -55,11 +55,11 @@ module.exports = (options = {}) => ({ extensions: ['.js', '.vue', '.json', '.css'] }, devServer: { - host: '192.168.31.140', + host: '127.0.0.1', port: 8010, proxy: { '/api/': { - target: 'http://192.168.31.140:8080', + target: 'http://127.0.0.1:8080', changeOrigin: true, pathRewrite: { '^/api': ''