From 458c2fceadcd038e26e8ac646877c1a81ba73f59 Mon Sep 17 00:00:00 2001 From: Hero Protagonist Date: Thu, 20 Jun 2024 02:20:43 -0400 Subject: [PATCH] try --- src/index.ts | 1 + src/types.d.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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