From 316aa091484b152072cdcede71b4fba159dadaee Mon Sep 17 00:00:00 2001 From: "Kar l5.G" Date: Sat, 22 Mar 2025 17:19:12 +0530 Subject: [PATCH] vite config on astro.config add all for yarn dev --- astro.config.mjs | 5 +++++ vite.config.js | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 vite.config.js diff --git a/astro.config.mjs b/astro.config.mjs index 21d25cf..74e70f9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,6 +12,11 @@ export default defineConfig({ tailwind() ], vite: { + server: { + host: true, // Allow all hosts + // OR specify the exact host: + // host: 'chat-with-ai.s38.siliconpin.com', + }, plugins: [ chunkSplitPlugin({ strategy: 'default', diff --git a/vite.config.js b/vite.config.js deleted file mode 100644 index 650741d..0000000 --- a/vite.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from 'vite'; - -export default defineConfig({ - preview: { - allowedHosts: ['chat-with-ai.s38.siliconpin.com'] - } -});