mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
Completely streamline setup experience for new users, add more documentation
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
name = "email-to-rss"
|
||||
main = "src/index.ts"
|
||||
compatibility_date = "2024-09-23"
|
||||
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"
|
||||
Reference in New Issue
Block a user