// @ts-check import { defineConfig } from 'astro/config'; import tailwindcss from '@tailwindcss/vite'; // https://astro.build/config export default defineConfig({ server: { // For astro dev host: '0.0.0.0' }, vite: { plugins: [tailwindcss()], preview: { // For astro preview (uses Vite's preview server) host: '0.0.0.0', port: 4321, allowedHosts: [ 'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com', 'localhost' ] }, server: { // Vite-specific options for astro dev // host is managed by Astro's top-level server.host watch: { // Enable polling for file changes in Docker usePolling: true } } } });