Files
dealplustech/astro.config.mjs
Kunthawat fbeba3096e fix: Configure Vite preview server allowedHosts
- Add easypanel.host to allowed hosts list
- Keep localhost and 127.0.0.1 for local dev
- Use specific domain instead of true for security
2026-03-10 19:17:42 +07:00

16 lines
345 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
output: 'static',
vite: {
plugins: [tailwindcss()],
preview: {
host: '0.0.0.0',
allowedHosts: ['.easypanel.host', 'localhost', '127.0.0.1'],
},
},
});