From b8ef6f8946de7dc00d9711eb6ba9d1aefe24cde1 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 31 Aug 2022 11:09:28 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhny_web

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

diff --git a/vue.config.js b/vue.config.js
index 88ddef0..c43e127 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -4,7 +4,7 @@
 
 module.exports = {
     //路径前缀
-    publicPath: "/",
+    publicPath: "/zhny-web",
     lintOnSave: true,
     productionSourceMap: false,
     chainWebpack: (config) => {
@@ -39,13 +39,15 @@
     },
     //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理
     devServer: {
+        // 本地配置host生效
+        disableHostCheck:true,
         port: 1888,
         proxy: {
             '/api': {
                 //本地服务接口地址
-                // target: 'http://192.168.0.126:89',
+                target: 'http://192.168.0.207:89',
                 //远程演示服务地址,可用于直接启动项目
-                target: 'http://182.106.212.58:8013/api',
+                // target: 'http://182.106.212.58:8013/api',
                 ws: true,
                 pathRewrite: {
                     '^/api': '/'
@@ -53,4 +55,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3