From 827ed07c1e51630d9b8eebe446cd653637398901 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期一, 21 十月 2024 13:46:34 +0800 Subject: [PATCH] 1 --- vue.config.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index 8d8506e..3c4ebea 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ /* * @Date: 2024-03-23 09:49:06 * @LastEditors: gaoshp - * @LastEditTime: 2024-10-05 17:23:49 + * @LastEditTime: 2024-10-06 10:17:18 * @FilePath: /cps-web/vue.config.js */ const { defineConfig } = require('@vue/cli-service') @@ -46,6 +46,14 @@ '^/api': '/' } }, + '/api/blade-cps/workstation/export-dp': { + target: 'http://120.46.212.231:4102', + // ws: true, + changeOrigin: true, + pathRewrite: { + '^/api': '/' + } + }, '/api': { target: process.env.VUE_APP_API_BASEURL, ws: true, -- Gitblit v1.9.3