Files
dealplustech/astro.config.mjs
Kunthawat 74d7e5bee8 fix: Remove preview/server config from Astro
- Removed vite.preview/server config that was causing host blocks
- Since we serve static files via 'serve' package, this config is unnecessary in production
- Astro only builds static files and we serve them directly from dist/ folder
- Eliminates 'Blocked request' error in production
2026-03-12 13:35:46 +07:00

13 lines
415 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
output: 'static', // Changed from 'hybrid' (deprecated)
build: {
inlineStylesheets: 'always',
},
// Remove vite config - we only serve static files via serve package
// No preview/server config needed since using static file serving
});