feat: Add NEXT_PUBLIC_EMAIL_DOMAIN environment variable and update README for configuration details

This commit is contained in:
beilunyang
2024-12-23 13:34:37 +08:00
parent 929f310202
commit 8a2fbeef48
4 changed files with 34 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
export const EMAIL_CONFIG = {
MAX_ACTIVE_EMAILS: 30, // Maximum number of active emails
POLL_INTERVAL: 10_000, // Polling interval in milliseconds
DOMAIN: 'moemail.app', // Email domain
DOMAIN: process.env.NEXT_PUBLIC_EMAIL_DOMAIN || 'moemail.app', // Email domain
} as const
export const WEBHOOK_CONFIG = {