cf-worker-api/wrangler.jsonc.example
2025-06-12 00:13:57 +08:00

22 lines
406 B
Plaintext

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "cf-worker-api",
"main": "src/index.ts",
"compatibility_date": "2025-05-25",
"compatibility_flags": [
"nodejs_compat"
],
"vars": {
"MAIN_URLS": "example.com"
},
"site": {
"bucket": "./public"
},
"kv_namespaces": [
{
"binding": "DATABASE",
"id": "*******************************"
}
]
}