From fb897b38980a0d8e043c0415e84f3677e7e0cef0 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期二, 11 二月 2020 17:23:26 +0800 Subject: [PATCH] 时间调整 --- vue.config.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1c66f9d..8c3779d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,15 +2,15 @@ // 淇敼鐨勯厤缃� // 灏哹aseUrl: '/api',鏀逛负baseUrl: '/', publicPath: '/', + outputDir: 'dist', devServer: { - port: 80, proxy: { - '/api': { - target: '192.168.31.233:8090', + '/api/api': { + target: 'http://highdatas.com:8090', changeOrigin: true, ws: true, pathRewrite: { - '^/api': '' + '^/api/api': '' } } } -- Gitblit v1.8.0