enzostvs HF Staff commited on
Commit
1563afa
·
1 Parent(s): 95183d4

rate limiting

Browse files
Files changed (1) hide show
  1. app/api/route.ts +3 -3
app/api/route.ts CHANGED
@@ -27,9 +27,9 @@ export async function POST(
27
  const count = await prisma.collection.count({
28
  where: {
29
  ip_address,
30
- createdAt: {
31
- gte: new Date(Date.now() - 24 * 60 * 60 * 1000)
32
- }
33
  }
34
  })
35
 
 
27
  const count = await prisma.collection.count({
28
  where: {
29
  ip_address,
30
+ // createdAt: {
31
+ // gte: new Date(Date.now() - 24 * 60 * 60 * 1000)
32
+ // }
33
  }
34
  })
35