From bd2a27cae9beb7d174d0b1fcce6dc42921ed1c53 Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Wed, 27 Dec 2023 14:34:10 +0800
Subject: [PATCH] 打包包名修改

---
 vite.config.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/vite.config.js b/vite.config.js
index b3d7246..cf401cd 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -12,8 +12,9 @@
       port: 2888,
       proxy: {
         '/api': {
-          target: 'http://192.168.1.88:2888/api',
-          //target: 'https://saber3.bladex.cn/api',
+          target: 'http://localhost',
+          //  target: 'https://132v69t077.yicp.fun/api',
+          //  target: 'https://saber3.bladex.cn/api',
           changeOrigin: true,
           rewrite: path => path.replace(/^\/api/, ''),
         },
@@ -28,6 +29,9 @@
         utils: resolve(__dirname, './src/utils'),
       },
     },
+    build: {
+      outDir: 'zttj-web',
+    },
     plugins: createVitePlugins(env, command === 'build'),
   });
 };

--
Gitblit v1.9.3