gabriel / musehub public
wrangler.toml toml
40 lines 1.6 KB
Raw
sha256:9590cee1e0ccd6c76528f005b95d634d80f5019f0dcb7c371e149adc31d1fb65 refactor: enforce gRPC framing on all MWP wire traffic Sonnet 4.6 minor ⚠ breaking 154 days ago
1 name = "musehub-pack-receiver"
2 main = "worker.js"
3 compatibility_date = "2025-04-01"
4
5 # Routes — one per environment.
6 # Replace <your-zone-id> with the Zone ID from the Cloudflare dashboard.
7 # [[routes]]
8 # pattern = "pack.staging.musehub.ai/*"
9 # zone_id = "<your-zone-id>"
10
11 # ── R2 binding ────────────────────────────────────────────────────────────────
12 [[r2_buckets]]
13 binding = "BUCKET"
14 bucket_name = "musehub-staging"
15
16 [[env.staging.r2_buckets]]
17 binding = "BUCKET"
18 bucket_name = "musehub-staging"
19
20 [[env.production.r2_buckets]]
21 binding = "BUCKET"
22 bucket_name = "musehub-staging"
23
24 # ── Environment variables ─────────────────────────────────────────────────────
25 [vars]
26 MUSEHUB_ORIGIN = "https://staging.musehub.ai" # override per env below
27
28 # ── Secrets (set via: wrangler secret put MUSEHUB_INTERNAL_KEY) ───────────────
29 # MUSEHUB_INTERNAL_KEY — shared secret for Worker→MuseHub internal calls
30
31 # ── Per-environment overrides ─────────────────────────────────────────────────
32 [env.staging]
33 name = "musehub-pack-receiver-staging"
34 [env.staging.vars]
35 MUSEHUB_ORIGIN = "https://staging.musehub.ai"
36
37 [env.production]
38 name = "musehub-pack-receiver"
39 [env.production.vars]
40 MUSEHUB_ORIGIN = "https://musehub.ai"
File History 1 commit
sha256:9590cee1e0ccd6c76528f005b95d634d80f5019f0dcb7c371e149adc31d1fb65 refactor: enforce gRPC framing on all MWP wire traffic Sonnet 4.6 minor ⚠ 154 days ago