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': ''