ocd
This commit is contained in:
12
README.md
12
README.md
@@ -33,13 +33,13 @@ import { Router } from '@tsndr/cloudflare-worker-router'
|
|||||||
|
|
||||||
export interface Env {
|
export interface Env {
|
||||||
// Example binding to KV. Learn more at https://developers.cloudflare.com/workers/runtime-apis/kv/
|
// Example binding to KV. Learn more at https://developers.cloudflare.com/workers/runtime-apis/kv/
|
||||||
// MY_KV_NAMESPACE: KVNamespace;
|
// MY_KV_NAMESPACE: KVNamespace
|
||||||
//
|
//
|
||||||
// Example binding to Durable Object. Learn more at https://developers.cloudflare.com/workers/runtime-apis/durable-objects/
|
// Example binding to Durable Object. Learn more at https://developers.cloudflare.com/workers/runtime-apis/durable-objects/
|
||||||
// MY_DURABLE_OBJECT: DurableObjectNamespace;
|
// MY_DURABLE_OBJECT: DurableObjectNamespace
|
||||||
//
|
//
|
||||||
// Example binding to R2. Learn more at https://developers.cloudflare.com/workers/runtime-apis/r2/
|
// Example binding to R2. Learn more at https://developers.cloudflare.com/workers/runtime-apis/r2/
|
||||||
// MY_BUCKET: R2Bucket;
|
// MY_BUCKET: R2Bucket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -305,13 +305,13 @@ import { Router } from '@tsndr/cloudflare-worker-router'
|
|||||||
|
|
||||||
export interface Env {
|
export interface Env {
|
||||||
// Example binding to KV. Learn more at https://developers.cloudflare.com/workers/runtime-apis/kv/
|
// Example binding to KV. Learn more at https://developers.cloudflare.com/workers/runtime-apis/kv/
|
||||||
// MY_KV_NAMESPACE: KVNamespace;
|
// MY_KV_NAMESPACE: KVNamespace
|
||||||
//
|
//
|
||||||
// Example binding to Durable Object. Learn more at https://developers.cloudflare.com/workers/runtime-apis/durable-objects/
|
// Example binding to Durable Object. Learn more at https://developers.cloudflare.com/workers/runtime-apis/durable-objects/
|
||||||
// MY_DURABLE_OBJECT: DurableObjectNamespace;
|
// MY_DURABLE_OBJECT: DurableObjectNamespace
|
||||||
//
|
//
|
||||||
// Example binding to R2. Learn more at https://developers.cloudflare.com/workers/runtime-apis/r2/
|
// Example binding to R2. Learn more at https://developers.cloudflare.com/workers/runtime-apis/r2/
|
||||||
// MY_BUCKET: R2Bucket;
|
// MY_BUCKET: R2Bucket
|
||||||
}
|
}
|
||||||
|
|
||||||
const router = new Router<Env>()
|
const router = new Router<Env>()
|
||||||
|
|||||||
Reference in New Issue
Block a user