From bb2a199e98ad8f94dea1d4c0bac90ab55dd8ad3b Mon Sep 17 00:00:00 2001 From: nithinkumarmav Date: Mon, 28 Oct 2024 12:50:53 +0530 Subject: [PATCH] Update vite.config.js --- vite.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 9def588..de1d347 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,7 +4,9 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], - preview: { - host: "0.0.0.0" - } + base: '/vite-deploy-demo/' + //preview: { + //host: "0.0.0.0" + + //} })