mirror of
https://github.com/beilunyang/moemail.git
synced 2026-05-11 18:11:27 +08:00
chore: Update deploy script
This commit is contained in:
15
wrangler.email.example.json
Normal file
15
wrangler.email.example.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "email-receiver-worker",
|
||||
"compatibility_date": "2024-03-20",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"main": "workers/email-receiver.ts",
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"migrations_dir": "drizzle",
|
||||
"database_name": "${DATABASE_NAME}",
|
||||
"database_id": "${DATABASE_ID}"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user