From 715748e82c520735d02f3dc92e8da44af7e81587 Mon Sep 17 00:00:00 2001
From: wang <3597712270@qq.com>
Date: 星期四, 18 四月 2024 16:55:39 +0800
Subject: [PATCH] 上片机样式、接口,掰片/识别样式,大理片笼样式

---
 UI-Project/vite.config.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js
index d4d6ee2..c0255a0 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -1,6 +1,6 @@
-import { fileURLToPath, URL } from 'node:url'
+import {fileURLToPath, URL} from 'node:url'
 
-import { defineConfig } from 'vite'
+import {defineConfig} from 'vite'
 import vue from '@vitejs/plugin-vue'
 import ReactivityTransform from '@vue-macros/reactivity-transform/vite'
 
@@ -24,10 +24,10 @@
       '/api': {
         target: 'http://localhost:8080/mesModuleTools',
         changeOrigin: true,
-        rewrite: (path) => path.replace(/^\/api/, '/mesModuleTools'),
+        rewrite: (path) => path.replace(/^\/api/, '/'),
       },
       '/api2': {
-        target: 'http://localhost:8081/mesModuleTools',
+        target: 'http://localhost:8085/mesModuleTools',
         changeOrigin: true,
         pathRewrite: {
           '^/api2': '',

--
Gitblit v1.8.0