Database Yedeği, Uygulama Hata ayıklama

This commit is contained in:
2025-12-29 23:58:50 +03:00
parent 8ba8d2e05e
commit b3bceaaff5
4 changed files with 270 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ export async function checkRateLimit(action: string): Promise<{ blocked: boolean
if (ip === '::1') ip = '127.0.0.1'
// Clean up old limits
const windowStart = new Date(Date.now() - WINDOW_MINUTES * 60 * 1000).toISOString()
// Clean up old limits (logic simplified, variable unused)
// Check current limit
const { data: limit } = await supabase