From c2eb7513834eeb5adfa53fff897f585de87e4821 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 30 Dec 2025 22:08:47 +0900 Subject: feat(security): add rate limiting and CORS middleware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add rate limiting to login endpoint (5 requests/minute per IP) - Configure CORS middleware with environment-based origin control - Expose rate limit headers in CORS for client visibility - Update hono to 4.11.3 for rate limiter peer dependency 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Opus 4.5 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 43b3b28..f5719e6 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,8 @@ "dexie": "^4.2.1", "drizzle-kit": "^0.31.8", "drizzle-orm": "^0.45.0", - "hono": "^4.10.7", + "hono": "^4.11.3", + "hono-rate-limiter": "^0.5.3", "pg": "^8.16.3", "react": "^19.2.1", "react-dom": "^19.2.1", -- cgit v1.2.3-70-g09d2