mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-08-25 02:01:11 +08:00
feat: add cron auto clean up (#189)
This commit is contained in:
@@ -56,12 +56,16 @@ pnpm run deploy
|
||||
|
||||
`wrangler.toml`
|
||||
|
||||
```bash
|
||||
```toml
|
||||
name = "cloudflare_temp_email"
|
||||
main = "src/worker.js"
|
||||
compatibility_date = "2023-08-14"
|
||||
node_compat = true
|
||||
|
||||
# enable cron if you want set auto clean up
|
||||
# [triggers]
|
||||
# crons = [ "0 0 * * *" ]
|
||||
|
||||
[vars]
|
||||
PREFIX = "tmp" # The mailbox name prefix to be processed
|
||||
# If you want your site to be private, uncomment below and change your password
|
||||
|
||||
Reference in New Issue
Block a user