From 3342e77756618c7b6ee47dbb309401696d4d72d1 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 05 六月 2023 18:07:53 +0800
Subject: [PATCH] 修改前端页面

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

diff --git a/vue.config.js b/vue.config.js
index 5921df5..f7f0fd9 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,12 +1,22 @@
+var path = require("path")
 module.exports = {
     baseUrl: './',
+    configureWebpack: {
+        resolve: {
+            alias: {
+                '@': path.join(__dirname, 'src')
+            }
+        }
+    },
     assetsDir: 'static',
     productionSourceMap: false,
     devServer: {
+        sockHost: 'demo.my-domain.com',
+        disableHostCheck: true,
         proxy: {
             '/api':{
-                target:'http://183.196.93.178',
-                //target:'http://127.0.0.1',
+                //target:'http://183.196.93.178',
+                target:'http://127.0.0.1',
                 changeOrigin:true,
                 pathRewrite:{
                     '/api':''

--
Gitblit v1.9.1