mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 18:34:13 +00:00
- Use rateLimitHeaders() spread on /api/posts success response to include X-RateLimit-Limit, X-RateLimit-Reset, Retry-After matching /api/search and /api/search/suggestions behavior - Remove legacy checkRateLimit, RateLimitResult, rateLimitStore, and cleanup interval from src/lib/search.ts (dead code after migration to central searchLimiter) - Update tests to use searchLimiter from @/lib/security instead of the removed checkRateLimit All integration tests pass (20 passed, 12 skipped). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api.int.spec.ts | ||
| email.int.spec.ts | ||
| i18n.int.spec.ts | ||
| search.int.spec.ts | ||