From 4ebd6cb0a317e289442aa8a37958a4272d803398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Thu, 14 Dec 2023 09:30:27 +0800 Subject: [PATCH] pulib --- vue.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index d5f5f32..15514df 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,8 +4,10 @@ module.exports = { assetsDir: 'static', productionSourceMap: false, devServer: { - public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号 - // port: '8080', + // public: 'http://192.168.110.156:8080/', // 你自己本地的ip地址:端口号 + // host:'localhost' + public: '0.0.0.0:8080/', + port: '8080', // open: true, // overlay: { // warnings: false,