From dc3ed12b14e9e0fdc89d122bab5b29c96eb0ded8 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Mon, 16 Feb 2026 00:15:39 -0500 Subject: [PATCH] fix: Update host configuration in vite.config.js for server and preview --- client/vite.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/vite.config.js b/client/vite.config.js index f552cbb..c67f4b7 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -5,11 +5,12 @@ export default defineConfig({ plugins: [react()], server: { port: 3000, - host: true + host: '0.0.0.0' }, preview: { port: 3000, - host: true, - strictPort: true + host: '0.0.0.0', + strictPort: true, + allowedHosts: 'all' } })