From 91f9b7a3b7dfc4fe6b9b5008cfec4e18dfb6dcd5 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Thu, 28 Mar 2024 13:04:36 +0800
Subject: [PATCH] 注册页面的客服地址错误

---
 config/index.js |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/config/index.js b/config/index.js
index bce576f..ee283dc 100644
--- a/config/index.js
+++ b/config/index.js
@@ -11,20 +11,37 @@
     assetsSubDirectory: 'static',
     assetsPublicPath: '/',
     proxyTable: {
+      // '/api': {
+      //   target:'http://43.198.126.79:8091/',
+      //   secure: false,
+      //   changeOrigin: true,
+      //   pathRewrite: {
+      //     '^/api': '/'
+      //   }
+      // },
       '/': {
         // target: 'https://pc.zsycyy.com',
         // target: 'http://www.shehua56.com',
-        target:'https://api.mitrade.cc/',
+        target:'http://121.43.237.202:8091/',
+        // target:'https://api.guosen.org/',
         secure: false,
         changeOrigin: true,
         pathRewrite: {
           '^/': '/'
         }
+      },
+      '/dk': {
+        target: 'http://121.43.237.202:8091/',
+        secure: false,
+        changeOrigin: true,
+        pathRewrite: {
+          '^/dk': '/dk'
+        }
       }
     },
 
     // Various Dev Server settings
-    host: '0.0.0.0', // can be overwritten by process.env.HOST
+    host: '127.0.0.1', // can be overwritten by process.env.HOST
     port: 80, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: true,
     errorOverlay: true,

--
Gitblit v1.9.3