-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.toml
More file actions
28 lines (23 loc) · 823 Bytes
/
wrangler.toml
File metadata and controls
28 lines (23 loc) · 823 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
name = "live-player"
main = ".open-next/worker.js"
compatibility_date = "2025-03-01"
compatibility_flags = [ "nodejs_compat", "global_fetch_strictly_public" ]
assets = { binding = "ASSETS", directory = ".open-next/assets"}
observability = { enabled = true}
[[d1_databases]]
binding = "DB"
database_name = "live-player"
database_id = "e924cbbd-2875-43a6-a24d-e95636c79481"
# [env.production]
# vars = { NODE_ENV = "production" }
# [[env.production.d1_databases]]
# binding = "DB"
# database_name = "live-player"
# database_id = "e924cbbd-2875-43a6-a24d-e95636c79481"
# [env.development]
# vars = { NODE_ENV = "development" }
# 本地开发不使用 D1,使用本地 SQLite 文件
# [[env.development.d1_databases]]
# binding = "DB"
# database_name = "live-player"
# database_id = "e924cbbd-2875-43a6-a24d-e95636c79481"