-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
26 lines (22 loc) · 806 Bytes
/
wrangler.toml
File metadata and controls
26 lines (22 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Cloudflare Worker configuration for wildcard subdomain routing
name = "mixtape-wildcard"
main = "worker.js"
compatibility_date = "2024-12-01"
# Environment variables
[vars]
PAGES_HOSTNAME = "mixtape-computer.pages.dev"
# KV Namespace for tenant data
[[kv_namespaces]]
binding = "TENANTS"
id = "17e5c9f2fea442a68da19d05396272f6"
# Route configuration - uncomment and update after adding your domain to Cloudflare
routes = [
{ pattern = "mixtape.computer/*", zone_name = "mixtape.computer" },
{ pattern = "*.mixtape.computer/*", zone_name = "mixtape.computer" }
]
# Production environment (optional - for separate prod config)
# [env.production]
# vars = { PAGES_HOSTNAME = "mixtape-computer.pages.dev" }
# routes = [
# { pattern = "*.mixtape.computer/*", zone_name = "mixtape.computer" }
# ]