Release 2025-05-23-R3WZ

This commit is contained in:
pluja
2025-05-23 11:52:16 +00:00
parent f4525e3d32
commit cdfdcfc122
12 changed files with 490 additions and 672 deletions

View File

@@ -14,9 +14,9 @@ import { timeTrapSecretKey } from '../lib/timeTrapSecret'
import type { CommentStatus, Prisma } from '@prisma/client'
const COMMENT_RATE_LIMIT_WINDOW_MINUTES = 5
const COMMENT_RATE_LIMIT_WINDOW_MINUTES = 2
const MAX_COMMENTS_PER_WINDOW = 1
const MAX_COMMENTS_PER_WINDOW_VERIFIED_USER = 5
const MAX_COMMENTS_PER_WINDOW_VERIFIED_USER = 10
export const commentActions = {
vote: defineProtectedAction({