From bc94c51e2d9c16108fbf35f31406bf116465a271 Mon Sep 17 00:00:00 2001 From: scout <1134087124@qq.com> Date: Wed, 15 Jan 2025 13:05:07 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E4=BF=AE=E6=94=B9devServer=20?= =?UTF-8?q?host=E9=85=8D=E7=BD=AE=E4=B8=BA0.0.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 88db6a5..dfe845e 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -147,7 +147,7 @@ export default defineNuxtConfig({ // 指定 Nuxt 应用程序的兼容性日期,确保应用程序在未来的 Nuxt 版本中保持稳定性 compatibilityDate: '2025-01-09', devServer: { - host: 'localhost', // Set the host to 'localhost' + host: '0.0.0.0', // Set the host to 'localhost' port: 3000, // Set the port to 3000 or any other port you prefer }, }) \ No newline at end of file