From c81b2f6682de864fbd0fd8674e2d5fff9a2c9b8a Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期四, 20 七月 2023 16:37:19 +0800
Subject: [PATCH] 11

---
 vue.config.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 77b3f39..034b409 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,7 +36,7 @@
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         target1: `http://192.168.1.4:8080`,
-        target: `http://localhost:8080`,
+        target: `http://192.168.1.4:8080`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
@@ -129,7 +129,7 @@
           config.optimization.runtimeChunk('single'),
           {
              from: path.resolve(__dirname, './public/robots.txt'), //闃茬埇铏枃浠�
-             to: './' //鍒版牴鐩綍涓�
+             to: '/' //鍒版牴鐩綍涓�
           }
         }
       )

--
Gitblit v1.9.3