diff --git a/src/index.ts b/src/index.ts index 548980c..ff1163d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,6 +4,7 @@ import { getRouter } from './router' export default { async fetch(request: Request, env: Bindings, ctx: any) { const { success } = await env.RATE_LIMITER.limit({ key: '/*' }) + console.log(env.XATA_API_KEY) if (!success) { return new Response(`Failure: Too many Request's. Try again later.`, { status: 429, diff --git a/src/types.d.ts b/src/types.d.ts index 0b0afe5..ddbb78e 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -1,5 +1,4 @@ export type Bindings = { - POEMAS_DB: D1Database TOKENS_KV: KVNamespace RATE_LIMITER: any SUDO_SECRET: string