diff --git a/package-lock.json b/package-lock.json index dbad7003..a82a5fd9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "20.13.0", + "version": "20.13.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "20.13.0", + "version": "20.13.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index 80657646..5773c9dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "20.13.0", + "version": "20.13.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/workers/contact/index.js b/workers/contact/index.js index c54b408e..6658bb10 100644 --- a/workers/contact/index.js +++ b/workers/contact/index.js @@ -14,7 +14,7 @@ export default { const submissions = ipSubmissions.get(ip).filter(time => currentTime - time < TIME_FRAME) - if (submissions.length >= RATE_LIMIT) return Response.redirect('https://coryd.dev/rate-limit', 429) + if (submissions.length >= RATE_LIMIT) return Response.redirect('https://coryd.dev/rate-limit', 301) submissions.push(currentTime) ipSubmissions.set(ip, submissions)