We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168a322 commit ba92304Copy full SHA for ba92304
src/app/api/download/route.ts
@@ -1,8 +1,8 @@
1
import { NextResponse } from 'next/server'
2
import { consola } from 'consola'
3
import { publicIp } from 'public-ip'
4
-
5
import { RateLimiterRedis, RateLimiterRes } from 'rate-limiter-flexible'
+
6
import { getRateLimitHeaders, redis } from '@/app/lib/redis/client'
7
8
const downloadLimiter = new RateLimiterRedis({
src/app/api/login/route.ts
import { NextRequest, NextResponse } from 'next/server'
const loginLimiter = new RateLimiterRedis({
0 commit comments