From 5dfb843c29fdcc1693961b70a36ddee3fea85a4a Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 27 Feb 2026 16:33:11 +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 2ba7612..3cfdf3c 100644
--- a/config/index.js
+++ b/config/index.js
@@ -40,7 +40,7 @@
}
},
// Various Dev Server settings
- host: "localhost", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // 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