-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
37 lines (27 loc) · 944 Bytes
/
wrangler.toml
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
name = "github-profile-views-counter"
main = "src/index.ts"
compatibility_date = "2024-11-26"
# compatibility_flags = [ "nodejs_compat" ]
[vars]
UPSTASH_REDIS_REST_URL="https://one-buffalo-24716.upstash.io"
UPSTASH_REDIS_REST_TOKEN="AWCMAAIjcDExODFlOTgwMjQ1NTk0YzJhOGVmOTdhMjg2NjY5MDFkYXAxMA"
[[kv_namespaces]]
binding = "RATELIMIT_KV"
id = "27f844d0a2834d48b2ddc5f697c2e0cd" # Create this using wrangler kv:namespace create RATELIMIT_KV
preview_id = "c5d529b0d4aa4e46a6554afb02af452d" # For local development
# [[kv_namespaces]]
# binding = "MY_KV_NAMESPACE"
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# [[r2_buckets]]
# binding = "MY_BUCKET"
# bucket_name = "my-bucket"
[[d1_databases]]
binding = "DB"
database_name = "visitors"
database_id = "6ea11fa3-4aa5-406c-8675-253c1d7c38a8" # Add missing character to ID
migrations_dir = "migrations"
[ai]
binding = "AI"
## wrangler.toml (wrangler v3.88.0^)
[observability]
enabled = true