From 7bcd24ae1799be6a652fd58afd7f88665a6d0af7 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Wed, 06 Aug 2025 14:55:51 +0800
Subject: [PATCH] 1
---
config/index.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/config/index.js b/config/index.js
index 027c5f3..fd0a667 100644
--- a/config/index.js
+++ b/config/index.js
@@ -40,7 +40,7 @@
}
},
// Various Dev Server settings
- host: "0.0.0.0", // can be overwritten by process.env.HOST
+ host: "localhost", // can be overwritten by process.env.HOST
port: 80, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
@@ -60,7 +60,8 @@
*/
// https://webpack.js.org/configuration/devtool/#development
- devtool: "cheap-module-eval-source-map",
+ // devtool: "cheap-module-eval-source-map",source-map
+ devtool: "source-map",
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
--
Gitblit v1.9.3