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'] - } -});