-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
55 lines (43 loc) · 1.04 KB
/
wrangler.toml
File metadata and controls
55 lines (43 loc) · 1.04 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
name = "mlack"
main = "hono/index.ts"
compatibility_date = "2025-03-26"
compatibility_flags = ["nodejs_compat"]
[assets]
directory = "./public"
not_found_handling = "none"
[[d1_databases]]
binding = "DB"
database_name = "mlack-db"
database_id = "local"
migrations_dir = "hono/db/migrations"
[[r2_buckets]]
binding = "STORAGE"
bucket_name = "mlack-uploads"
[[durable_objects.bindings]]
name = "CHAT_ROOM"
class_name = "ChatRoom"
[[migrations]]
tag = "v1"
new_sqlite_classes = ["ChatRoom"]
[vars]
NODE_ENV = "development"
[env.production]
routes = [
{ pattern = "mlack.uk", custom_domain = true }
]
[env.production.vars]
NODE_ENV = "production"
[[env.production.d1_databases]]
binding = "DB"
database_name = "mlack-db"
database_id = "d6405044-202a-4a50-9612-089512467c9e"
migrations_dir = "hono/db/migrations"
[[env.production.durable_objects.bindings]]
name = "CHAT_ROOM"
class_name = "ChatRoom"
[[env.production.r2_buckets]]
binding = "STORAGE"
bucket_name = "mlack-uploads"
[[env.production.migrations]]
tag = "v1"
new_sqlite_classes = ["ChatRoom"]