From f7b206707ca5d443797cea72c779806c41642a7e Mon Sep 17 00:00:00 2001 From: David Kifer Date: Thu, 23 Jul 2026 12:22:54 -0400 Subject: [PATCH] Configure host 0.0.0.0 for LAN network accessibility across home network --- .app.pid | 2 +- vite.config.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.app.pid b/.app.pid index ad1624e..17e3625 100644 --- a/.app.pid +++ b/.app.pid @@ -1 +1 @@ -271828 +272785 diff --git a/vite.config.ts b/vite.config.ts index fc23e76..5c222ce 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,8 +12,9 @@ export default defineConfig(() => { }, }, server: { + host: '0.0.0.0', // HMR is disabled in AI Studio via DISABLE_HMR env var. - // Do not modify—file watching is disabled to prevent flickering during agent edits. + // Do not modify—file watching is disabled to prevent flickering during agent edits. hmr: process.env.DISABLE_HMR !== 'true', // Disable file watching when DISABLE_HMR is true to save CPU during agent edits. watch: process.env.DISABLE_HMR === 'true' ? null : {},