Set up initial project and files

This commit is contained in:
Young Lee
2025-02-27 14:51:38 -08:00
parent be9d1c0f61
commit 8839aac24b
18 changed files with 1754 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
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/*"
]