From c5876941bbdf218b40510cc2fdb26c66dbe62ed4 Mon Sep 17 00:00:00 2001 From: "Kar l5.G" Date: Sat, 22 Mar 2025 17:22:14 +0530 Subject: [PATCH] preview host added --- astro.config.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 74e70f9..9d7f186 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -16,7 +16,11 @@ export default defineConfig({ host: true, // Allow all hosts // OR specify the exact host: // host: 'chat-with-ai.s38.siliconpin.com', - }, + }, + preview: { + allowedHosts: ['chat-with-ai.s38.siliconpin.com','chat-with-ai.siliconpin.com','chat.siliconpin.com'], + } + } plugins: [ chunkSplitPlugin({ strategy: 'default',