Dev (#50)
* update * cleanup * fixing linting and tests errors * Refactor API Parameter Handling and Update Email Transport ✅ Updated API Route Parameters: - Changed parameter type from `{ id: string }` to `Promise<{ id: string }>` in PUT and DELETE methods for better async handling. ✅ Fixed Email Transport Creation: - Updated `nodemailer.createTransporter` to `nodemailer.createTransport` for correct transport configuration. ✅ Refactored AnalyticsDashboard Component: - Changed export from default to named export for better modularity. ✅ Enhanced Email Responder Toast: - Updated toast structure to include additional properties for better user feedback. 🎯 Overall Improvements: - Improved async handling in API routes. - Ensured correct usage of nodemailer. - Enhanced component exports and user notifications.
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
|
||||
# Application
|
||||
NODE_ENV=production
|
||||
NEXT_PUBLIC_BASE_URL=https://dki.one
|
||||
NEXT_PUBLIC_BASE_URL=https://dk0.dev
|
||||
|
||||
# Ghost CMS (removed - using built-in project management)
|
||||
# GHOST_API_URL=https://your-ghost-instance.com
|
||||
# GHOST_API_KEY=your-ghost-api-key
|
||||
|
||||
# Email Configuration (optional - for contact form)
|
||||
MY_EMAIL=your-email@example.com
|
||||
MY_INFO_EMAIL=your-info-email@example.com
|
||||
MY_EMAIL=contact@dk0.dev
|
||||
MY_INFO_EMAIL=info@dk0.dev
|
||||
MY_PASSWORD=your-email-password
|
||||
MY_INFO_PASSWORD=your-info-email-password
|
||||
|
||||
|
||||
Reference in New Issue
Block a user