Repository navigation
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
81 lines (81 loc) · 1.53 KB
/
Copy pathwrangler.jsonc
File metadata and controls
81 lines (81 loc) · 1.53 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "timoot",
"main": "worker/index.ts",
"compatibility_date": "2025-11-17",
"compatibility_flags": ["nodejs_als"],
"version_metadata": {
"binding": "CF_VERSION_METADATA",
},
"durable_objects": {
"bindings": [
{
"name": "GAME_ROOM",
"class_name": "GameRoomDurableObject",
},
{
"name": "USER_STORE",
"class_name": "UserStoreDurableObject",
},
],
},
"assets": {
"binding": "ASSETS",
"directory": "./dist",
"not_found_handling": "single-page-application",
"run_worker_first": ["/api/*", "!/api/docs/*"],
},
"observability": {
"issues": { "enabled": true },
"logs": {
"enabled": true,
},
"traces": {
"enabled": true,
},
},
"ai": {
"binding": "AI",
"remote": true,
},
"kv_namespaces": [
{
"binding": "KV_IMAGES",
},
{
"binding": "KV_SYNC",
},
],
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": ["QuizStoreDurableObject", "GameRoomDurableObject"],
},
{
"tag": "v2",
"renamed_classes": [
{
"from": "QuizStoreDurableObject",
"to": "UserStoreDurableObject",
},
],
},
],
"vars": {
"GET_READY_COUNTDOWN_MS": 6000,
"WORKERS_AI_MODEL": "@cf/google/gemma-4-26b-a4b-it",
},
"ratelimits": [
{
"name": "GAME_RATE_LIMITER",
"namespace_id": "1001",
"simple": { "limit": 10, "period": 60 },
},
{
"name": "AI_RATE_LIMITER",
"namespace_id": "1002",
"simple": { "limit": 5, "period": 60 },
},
],
"account_id": "d64471fef208e0cf9687449dc8a5878b",
}