From dca74c76b85c5ece7b87beae9d9f921883b55564 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期四, 07 五月 2020 14:45:39 +0800 Subject: [PATCH] 调整cookies --- 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