Add Cloudflare catch-all mail worker
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name = "cloudmail-inbox"
|
||||
main = "src/index.ts"
|
||||
compatibility_date = "2026-07-22"
|
||||
|
||||
# Create the database first, then replace this placeholder with its database_id.
|
||||
[[d1_databases]]
|
||||
binding = "DB"
|
||||
database_name = "cloudmail-inbox"
|
||||
database_id = "5cbdac91-52b5-41a1-9794-4b904897fe4b"
|
||||
|
||||
# Append-only mirror for the existing mail service. Existing mail_db records
|
||||
# and schema are left intact.
|
||||
[[d1_databases]]
|
||||
binding = "LEGACY_DB"
|
||||
database_name = "mail_db"
|
||||
database_id = "01321ac1-5d9c-4b1a-bc99-7375726d546c"
|
||||
|
||||
[vars]
|
||||
MAIL_DOMAIN = "yyggslive.cc.cd"
|
||||
Reference in New Issue
Block a user