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

View File

@@ -3,7 +3,7 @@ import { drizzle } from 'drizzle-orm/d1'
import { messages, emails, webhooks } from '../app/lib/schema'
import { eq } from 'drizzle-orm'
import PostalMime from 'postal-mime'
import { WEBHOOK_CONFIG } from '../app/config'
import { WEBHOOK_CONFIG } from '../app/config/webhook'
import { EmailMessage } from '../app/lib/webhook'
const handleEmail = async (message: ForwardableEmailMessage, env: Env) => {