From 909e611a0ac4d72333f75c53b2cd69062ff9c903 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 一月 2024 22:59:23 +0800
Subject: [PATCH] 修改api里的错误

---
 config/index.js |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/config/index.js b/config/index.js
index b4f0d13..6c839af 100644
--- a/config/index.js
+++ b/config/index.js
@@ -1,3 +1,9 @@
+/*
+ * @Date: 2023-12-20 20:21:29
+ * @LastEditors: Sneed
+ * @LastEditTime: 2024-01-05 23:44:25
+ * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/config/index.js
+ */
 'use strict'
 // Template version: 1.2.6
 // see http://vuejs-templates.github.io/webpack for documentation.
@@ -11,14 +17,14 @@
     assetsSubDirectory: 'static',
     assetsPublicPath: '/',
     proxyTable: {
-      '/api': {
+      '/mdc': {
 	//  target: 'http://172.20.10.8:8087/',
       //  target: 'http://192.168.230.143:8087/',
-      target: 'http://localhost:8087/',
+      target: 'http://116.63.148.72:8088/',
       // target: 'http://111.230.17.122:8087/',
         changeOrigin: true,
         pathRewrite: {
-          '^/api': '/'
+          '^/mdc': '/mdc'
         }
       }
     },
@@ -34,7 +40,7 @@
     // Use Eslint Loader?
     // If true, your code will be linted during bundling and
     // linting errors and warnings will be shown in the console.
-    useEslint: true,
+    useEslint: false,
     // If true, eslint errors and warnings will also be shown in the error overlay
     // in the browser.
     showEslintErrorsInOverlay: false,
@@ -62,7 +68,7 @@
   build: {
     // Template for index.html
     index: path.resolve(__dirname, '../dist/index.html'),
-
+    test: path.resolve(__dirname, '../dist/test.html'),
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',

--
Gitblit v1.9.3