mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
34 lines
852 B
TOML
34 lines
852 B
TOML
name = "email-to-rss"
|
|
main = "src/index.ts"
|
|
compatibility_date = "REPLACE_WITH_COMPATIBILITY_DATE"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
# Global KV Namespace bindings
|
|
kv_namespaces = [
|
|
{ binding = "EMAIL_STORAGE", id = "REPLACE_WITH_YOUR_KV_NAMESPACE_ID", preview_id = "REPLACE_WITH_YOUR_PREVIEW_KV_NAMESPACE_ID" }
|
|
]
|
|
|
|
# Global Environment variables
|
|
[vars]
|
|
DOMAIN = "REPLACE_WITH_YOUR_DOMAIN" # Your custom domain for emails
|
|
|
|
# Development environment
|
|
[env.dev]
|
|
workers_dev = true
|
|
|
|
# Production environment
|
|
[env.production]
|
|
workers_dev = false
|
|
|
|
kv_namespaces = [
|
|
{ binding = "EMAIL_STORAGE", id = "REPLACE_WITH_YOUR_KV_NAMESPACE_ID" }
|
|
]
|
|
|
|
routes = [
|
|
{ pattern = "REPLACE_WITH_YOUR_DOMAIN", custom_domain = true },
|
|
{ pattern = "www.REPLACE_WITH_YOUR_DOMAIN", custom_domain = true }
|
|
]
|
|
|
|
[env.production.vars]
|
|
DOMAIN = "REPLACE_WITH_YOUR_DOMAIN"
|