Files
dealplustech/astro.config.mjs
Kunthawat b254638bc7 fix: Allow all hosts for Easypanel deployment
- Added allowedHosts: true for dev and preview
- Required for Easypanel hosting to work
- Fixes 'Blocked request' error
2026-03-11 09:09:56 +07:00

21 lines
375 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()],
server: {
host: '0.0.0.0',
allowedHosts: true,
},
preview: {
host: '0.0.0.0',
allowedHosts: true,
},
},
});