Major fixes and improvements: - Fixed edit event button functionality with proper event handlers and DOM ready state checking - Added status column to tickets table via Supabase migration to resolve 500 API errors - Updated stats API to correctly calculate revenue from decimal price values - Resolved authentication redirect loops by fixing cookie configuration for Docker environment - Fixed Permissions-Policy header syntax errors - Added comprehensive debugging and error handling for event management - Implemented modal-based event editing with form validation and API integration - Enhanced event data loading with proper error handling and user feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
825 B
JavaScript
40 lines
825 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import react from '@astrojs/react';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import node from '@astrojs/node';
|
|
// import sentry from '@sentry/astro';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
output: 'server',
|
|
integrations: [
|
|
react(),
|
|
tailwind(),
|
|
// Temporarily disable Sentry for auth system testing
|
|
// sentry({
|
|
// dsn: process.env.SENTRY_DSN,
|
|
// environment: process.env.NODE_ENV || 'development',
|
|
// release: process.env.SENTRY_RELEASE || 'unknown'
|
|
// })
|
|
],
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
}),
|
|
|
|
|
|
server: {
|
|
port: process.env.PORT || 3000,
|
|
host: true,
|
|
hmr: {
|
|
port: 3000,
|
|
host: '0.0.0.0'
|
|
}
|
|
},
|
|
|
|
// Security headers
|
|
security: {
|
|
checkOrigin: true
|
|
}
|
|
}); |