Files
dealplustech/astro.config.mjs
Kunthawat Greethong 1382b2fafc fix: Configure allowedHosts in astro.config.mjs only
- Removed separate vite.config.js
- Added server and preview config directly to astro.config.mjs
- Set allowedHosts: true to allow Easypanel hostnames
- Set host: 0.0.0.0 for container networking
2026-03-03 10:46:53 +07:00

19 lines
361 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
vite: {
plugins: [tailwindcss()]
},
// Allow all hosts - required for Easypanel deployment
server: {
host: '0.0.0.0',
allowedHosts: true
},
preview: {
host: '0.0.0.0',
allowedHosts: true
}
});