From 122deb4a51475b271bd5d4de36593c1c5f925f1d Mon Sep 17 00:00:00 2001 From: 李喆(开发组) <lzhe@yxqiche.com> Date: 星期二, 18 三月 2025 17:29:39 +0800 Subject: [PATCH] 1 --- vue.config.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vue.config.js b/vue.config.js index b372543..2d7118e 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-06 10:17:18 + * @LastEditors: lzhe lzhe@example.com + * @LastEditTime: 2024-11-27 14:59:26 * @FilePath: /cps-web/vue.config.js */ const { defineConfig } = require('@vue/cli-service') @@ -23,15 +23,15 @@ port: process.env.VUE_APP_PORT, //鎸傝浇绔彛 proxy: { '/api/smart-collect': { - target: 'http://120.46.212.231:4102', + target: 'http://120.46.212.231:5102', // ws: true, changeOrigin: true, pathRewrite: { '^/api': '/' } }, - '/api/smis/workstation/listDatapointsByWorkstationId': { - target: 'http://120.46.212.231:4102', + '/workinghour': { + target: 'http://120.46.212.231:5102', // ws: true, changeOrigin: true, pathRewrite: { @@ -39,7 +39,7 @@ } }, '/api/smis/workstation/saveDatapoints': { - target: 'http://120.46.212.231:4102', + target: 'http://120.46.212.231:5102', // ws: true, changeOrigin: true, pathRewrite: { @@ -47,7 +47,7 @@ } }, '/api/smis/workstation/export-dp': { - target: 'http://120.46.212.231:4102', + target: 'http://120.46.212.231:5102', // ws: true, changeOrigin: true, pathRewrite: { -- Gitblit v1.9.3