feat: 集成 Wrangler 并添加 KV 支持

This commit is contained in:
严浩
2025-09-09 13:03:45 +08:00
parent 7c92f4496e
commit c7379f6b3d
5 changed files with 49 additions and 16 deletions

View File

@@ -43,4 +43,15 @@
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
*/
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
/**
* KV Namespaces
* https://developers.cloudflare.com/kv/
*/
"kv_namespaces": [
{
"binding": "KV",
"id": "cf60206f0d994aa5ac7d4a4b853ced18",
},
],
}