feat: Switch to Astro SSR with API routes support
- Changed output: 'static' → 'server' in astro.config.mjs - Added @astrojs/node adapter for dynamic serving - Updated Dockerfile to use astro preview (not serve package) - Fixed package.json dependency conflicts - All API routes will work (privacy consent logging) - Static pages still work Now includes BOTH: - ✅ Static pages (product pages, blog) - ✅ Dynamic API routes (cookie consent logging) - ✅ Admin dashboard with database access - ✅ Fixed host restrictions
This commit is contained in:
2
node_modules/.astro/data-store.json
generated
vendored
2
node_modules/.astro/data-store.json
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user