From 638c9367b58bb307f325a27e6588b37a665a84f5 Mon Sep 17 00:00:00 2001 From: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com> Date: Wed, 20 Mar 2024 01:54:53 +0530 Subject: [PATCH] fix(core): minor change --- apps/sandbox/src/main.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/sandbox/src/main.tsx b/apps/sandbox/src/main.tsx index 3a01d09..8b2fd44 100644 --- a/apps/sandbox/src/main.tsx +++ b/apps/sandbox/src/main.tsx @@ -1,10 +1,6 @@ import { serve } from "@hono/node-server"; import { Hono } from "hono"; -import { - type RateLimitInfo, - defaultKeyGenerator, - rateLimiter, -} from "hono-rate-limiter"; +import { type RateLimitInfo, rateLimiter } from "hono-rate-limiter"; import { logger } from "hono/logger"; import Page from "./Page"; @@ -22,7 +18,6 @@ app.use( windowMs: 10_000, limit: 10, handler: (_, next) => next(), - keyGenerator: defaultKeyGenerator, }), );