-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.toml
More file actions
51 lines (43 loc) · 1.48 KB
/
Copy pathwrangler.toml
File metadata and controls
51 lines (43 loc) · 1.48 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name = "github-tracker"
main = "src/worker/index.ts"
compatibility_date = "2026-03-01"
compatibility_flags = [
"global_fetch_strictly_public",
# nodejs_als: required by @sentry/cloudflare for AsyncLocalStorage (request context propagation)
"nodejs_als",
]
workers_dev = false
[assets]
# The Cloudflare Vite plugin overrides this directory at build time.
# The `public/` value is needed for wrangler dev and vitest-pool-workers (which parse wrangler.toml directly).
directory = "public"
binding = "ASSETS"
not_found_handling = "single-page-application"
# DEPLOY: Change the pattern below to your custom domain.
[[routes]]
pattern = "gh.gordoncode.dev"
custom_domain = true
# DEPLOY: Uncomment and set your Sentry DSN, or leave commented to disable error reporting.
# [vars]
# SENTRY_DSN = "https://your-public-key@o12345.ingest.us.sentry.io/your-project-id"
[[ratelimits]]
name = "PROXY_RATE_LIMITER"
namespace_id = "1001"
[ratelimits.simple]
limit = 10
period = 10
# Single-use nonce store for /api/proxy/unseal — blocks unseal-then-reseal expiry
# renewal of a credential-export bundle. Holds only opaque nonce values (never
# plaintext, ciphertext, or tokens), TTL bounded by the bundle's own expiry window.
[[kv_namespaces]]
binding = "CREDENTIAL_NONCE_KV"
id = "6eb3cac2fc7b416f870e7c28f39aa63f"
preview_id = "783627e2f20d48e8b9853bc2d2368f6a"
[observability]
enabled = true
head_sampling_rate = 1
[observability.logs]
enabled = true
head_sampling_rate = 1
persist = true
invocation_logs = true