Files
kill-the-news/wrangler.toml
T
2025-02-27 14:51:38 -08:00

30 lines
795 B
TOML

name = "email-to-rss"
main = "src/index.ts"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
# KV Namespace bindings
kv_namespaces = [
{ binding = "EMAIL_STORAGE", id = "721e2789af9a41eba56a77e7891fd85a", preview_id = "b741d3713dd0416ca80b34ae6539736e" }
]
# Environment variables
[vars]
ADMIN_PASSWORD = "" # Set this using wrangler secret
DOMAIN = "getmynews.app" # Your custom domain for emails
# Development environment
[env.dev]
# Add any development-specific configuration here
workers_dev = true
# Production environment
[env.production]
# Add any production-specific configuration here
workers_dev = false
routes = [
"https://api.getmynews.app/api/*",
"https://api.getmynews.app/rss/*",
"https://getmynews.app/*",
"https://www.getmynews.app/*"
]