From d0be57c51de4ed3bf6e8d9a68242f24a5716e65d Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期三, 06 五月 2020 19:34:51 +0800 Subject: [PATCH] 添加修改密码功能 --- vue.config.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1c66f9d..62bafb5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,16 +1,16 @@ module.exports = { - // 淇敼鐨勯厤缃� - // 灏哹aseUrl: '/api',鏀逛负baseUrl: '/', - publicPath: '/', + publicPath: './', + outputDir: 'dist', devServer: { - port: 80, proxy: { - '/api': { - target: '192.168.31.233:8090', + '/api/api': { + target: 'http://srs.highdatas.com:8090', + // target: 'http://192.168.31.233:8090', + changeOrigin: true, ws: true, pathRewrite: { - '^/api': '' + '^/api/api': '' } } } -- Gitblit v1.8.0