-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
37 lines (37 loc) · 867 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
37 lines (37 loc) · 867 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
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "line-workers-template",
"main": "src/_index.ts",
"compatibility_date": "2026-01-28",
"secrets": {
"required": ["LINE_CHANNEL_SECRET", "LINE_CHANNEL_ACCESS_TOKEN"],
},
"vars": {
"timezone": "Asia/Taipei",
},
"workers_dev": false,
"preview_urls": true,
"routes": [{ "custom_domain": true, "pattern": "lwt.ccepr.dev" }],
"assets": {
"directory": "./public/",
"binding": "ASSETS",
"run_worker_first": ["/", "!/image/*"],
},
"placement": {
"mode": "smart",
},
"observability": {
"logs": {
"enabled": true,
"invocation_logs": true,
},
"traces": {
"enabled": true,
},
},
"compatibility_flags": ["nodejs_compat"],
"upload_source_maps": true,
"version_metadata": {
"binding": "CF_VERSION_METADATA",
},
}