refactor: Update email and webhook configurations in deploy workflow

This commit is contained in:
beilunyang
2024-12-23 22:11:58 +08:00
parent 963ad03feb
commit d8aa3062c8
5 changed files with 26 additions and 17 deletions
+7
View File
@@ -0,0 +1,7 @@
export const EMAIL_CONFIG = {
MAX_ACTIVE_EMAILS: 30, // Maximum number of active emails
POLL_INTERVAL: 10_000, // Polling interval in milliseconds
DOMAIN: process.env.NEXT_PUBLIC_EMAIL_DOMAIN || 'moemail.app', // Email domain
} as const
export type EmailConfig = typeof EMAIL_CONFIG