Skip to content

Commit

Permalink
Update hono.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
perkinsjr authored Oct 9, 2024
1 parent c858304 commit 2b3dd6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/docs/quickstart/ratelimiting/hono.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ import { Ratelimit } from "@unkey/ratelimit";
const app = new Hono();

const limiter = new Ratelimit({
namespace: "hono-example",
limit: 2,
duration: "30s",
rootKey: process.env.UNKEY_ROOT_KEY
namespace: "hono-example",
limit: 2,
duration: "30s",
rootKey: process.env.UNKEY_ROOT_KEY
});

app.get("/", (c) => {
Expand Down

0 comments on commit 2b3dd6f

Please sign in to comment.