diff --git a/astro.config.mjs b/astro.config.mjs index 508cbeceb..61e6ac01a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,6 +6,12 @@ import tailwindcss from '@tailwindcss/vite'; // https://astro.build/config export default defineConfig({ vite: { - plugins: [tailwindcss()] + plugins: [tailwindcss()], + server: { + allowedHosts: true // Allow all hosts for development + }, + preview: { + allowedHosts: true // Allow all hosts for production preview + } } -}); \ No newline at end of file +});