-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
36 lines (36 loc) · 801 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
36 lines (36 loc) · 801 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
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "one-api-workers",
"main": "src/index.ts",
"compatibility_date": "2025-04-28",
"workers_dev": true,
"vars": {
"USAGE_ANALYTICS_DATASET": "usage_events_by_token"
},
"secrets": {
"required": [
"ADMIN_TOKEN",
"CF_API_TOKEN",
"CF_ACCOUNT_ID"
]
},
"assets": {
"directory": "./public",
"not_found_handling": "single-page-application",
"binding": "ASSETS",
"run_worker_first": true
},
"d1_databases": [
{
"binding": "DB",
"database_name": "one-api-workers",
"database_id": "5d429962-32e6-4895-8d40-467237292800"
}
],
"analytics_engine_datasets": [
{
"binding": "USAGE_ANALYTICS",
"dataset": "usage_events_by_token"
}
]
}