From 95a27fe55990ca151cbe08f99cbeb669b4cb9dd8 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 20 六月 2024 17:07:16 +0800
Subject: [PATCH] fix:修改在线培训

---
 vue.config.js |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 43e9f92..cc6f74c 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,8 +1,8 @@
-'use strict'
-const path = require('path')
+'use strict';
+const path = require('path');
 
-function resolve (dir) {
-  return path.join(__dirname, dir)
+function resolve(dir) {
+  return path.join(__dirname, dir);
 }
 
 module.exports = {
@@ -19,7 +19,8 @@
     hotOnly: false,
     proxy: {
       '/api': {
-        target: 'http://localhost:8000',
+        // target: 'http://localhost:8000',
+        target: 'http://192.168.3.64:8000',
         changeOrigin: true
       }
     }
@@ -31,12 +32,12 @@
       filename: 'index.html'
     }
   },
-  chainWebpack (config) {
+  chainWebpack(config) {
     // set svg-sprite-loader
     config.module
       .rule('svg')
       .exclude.add(resolve('src/icons'))
-      .end()
+      .end();
     config.module
       .rule('icons')
       .test(/\.svg$/)
@@ -47,6 +48,6 @@
       .options({
         symbolId: 'icon-[name]'
       })
-      .end()
+      .end();
   }
-}
+};

--
Gitblit v1.8.0