-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathwrangler.toml
More file actions
52 lines (40 loc) · 1009 Bytes
/
wrangler.toml
File metadata and controls
52 lines (40 loc) · 1009 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
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
name = "learn"
main = "src/worker.py"
compatibility_date = "2024-09-23"
compatibility_flags = ["python_workers"]
[assets]
directory = "./public"
binding = "ASSETS"
run_worker_first = ["/api/*"]
html_handling = "auto-trailing-slash"
not_found_handling = "404-page"
# Run `wrangler d1 create education_db` and paste the returned UUID below.
[[d1_databases]]
binding = "DB"
database_name = "education_db"
database_id = "a0021f2e-a8cc-4e20-8910-3c7290ba47a6"
# Virtual Classroom Durable Object
[[durable_objects.bindings]]
name = "CLASSROOM_DO"
class_name = "ClassroomDO"
[[durable_objects.bindings]]
name = "PRESENCE_DO"
class_name = "PresenceDO"
[[migrations]]
tag = "v1"
new_sqlite_classes = ["ClassroomDO"]
[[migrations]]
tag = "v2"
new_sqlite_classes = ["PresenceDO"]
[observability]
enabled = false
head_sampling_rate = 1
[observability.logs]
enabled = true
head_sampling_rate = 1
persist = true
invocation_logs = true
[observability.traces]
enabled = false
persist = true
head_sampling_rate = 1