// astro.config.mjs - SSR configuration for authentication import { defineConfig } from 'astro/config'; import node from '@astrojs/node'; export default defineConfig({ // Server-side rendering for authentication and API routes output: 'server', adapter: node({ mode: 'standalone' }), // Build configuration build: { assets: '_astro' }, // Development server server: { port: 4321, host: true } });