- 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
13 lines
415 B
JavaScript
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
|
|
}); |