From 43c2ebf8b5df8a785b5c717eede3aac52962cd5e Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期一, 04 十一月 2024 13:40:27 +0800
Subject: [PATCH] 1
---
vue.config.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 8d8506e..1386376 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-11-03 20:06:33
* @FilePath: /cps-web/vue.config.js
*/
const { defineConfig } = require('@vue/cli-service')
@@ -30,7 +30,15 @@
'^/api': '/'
}
},
- '/api/blade-cps/workstation/listDatapointsByWorkstationId': {
+ // '/api/smis/workstation/listDatapointsByWorkstationId': {
+ // target: 'http://120.46.212.231:4102',
+ // // ws: true,
+ // changeOrigin: true,
+ // pathRewrite: {
+ // '^/api': '/'
+ // }
+ // },
+ '/api/smis/workstation/saveDatapoints': {
target: 'http://120.46.212.231:4102',
// ws: true,
changeOrigin: true,
@@ -38,7 +46,7 @@
'^/api': '/'
}
},
- '/api/blade-cps/workstation/saveDatapoints': {
+ '/api/smis/workstation/export-dp': {
target: 'http://120.46.212.231:4102',
// ws: true,
changeOrigin: true,
--
Gitblit v1.9.3