From d24c9dde20cba23b96082b4db81b5223c75e4ea9 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 08 三月 2023 09:06:28 +0800
Subject: [PATCH] 身份证正反面调整

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

diff --git a/vue.config.js b/vue.config.js
index 0eb08d4..d97f668 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -38,12 +38,10 @@
     },
     proxy: {
       // 璺ㄥ煙閰嶇疆
-      "/api": {
-        target: `http://42.193.1.25:8082`,
-        changeOrigin: true,
-        pathRewrite: {
-          "^/api": ''
-        }
+      "/sccg": {
+        target: `http://42.193.1.25/`,
+        // target: `http://127.0.0.1:8082/`,
+        changeOrigin: true
       }
     },
     // disableHostCheck: true
@@ -97,14 +95,6 @@
     config
       .when(process.env.NODE_ENV !== 'development',
         config => {
-          // config
-          //   .plugin('ScriptExtHtmlWebpackPlugin')
-          //   .after('html')
-          //   .use('script-ext-html-webpack-plugin', [{
-          //   // `runtime` must same as runtimeChunk name. default is `runtime`
-          //     inline: /runtime\..*\.js$/
-          //   }])
-          //   .end()
           config
             .optimization.splitChunks({
               chunks: 'all',

--
Gitblit v1.8.0