-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
46 lines (46 loc) · 1.07 KB
/
wrangler.jsonc
File metadata and controls
46 lines (46 loc) · 1.07 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
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "github-cards-worker",
"main": "./src/index.js",
"compatibility_date": "2025-05-01",
"observability": {
"enabled": true
},
"compatibility_flags": [
"nodejs_compat"
],
"vars": {
"ENVIRONMENT": "production",
"ASSETS_BASE_URL": "https://raw.githubusercontent.com/akanshSirohi/Github-Cards-API/refs/heads/master/public/assets",
"BASE_URL": "https://github-cards-worker.akanshsirohi-dev.workers.dev"
},
"env": {
"local": {
"vars": {
"ENVIRONMENT": "development",
"ASSETS_BASE_URL": "http://localhost:8787/assets",
"BASE_URL": "http://localhost:8787"
},
"kv_namespaces": [
{
"binding": "CARDS_CACHE_KV",
"id": "9248ea7a46d4488fba80ee7d747d70bb"
}
]
}
},
"assets": {
"directory": "./public",
"binding": "ASSETS"
},
"kv_namespaces": [
{
"binding": "CARDS_CACHE_KV",
"id": "9248ea7a46d4488fba80ee7d747d70bb"
}
]
}