Skip to content

Commit 3c879c0

Browse files
Update backend/src/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 32a4810 commit 3c879c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102

103103
try {
104104
const ip = request.headers.get('CF-Connecting-IP') || 'unknown';
105-
const allowed = await checkRateLimit(ip,env);
105+
const allowed = await checkRateLimit(ip, env);
106106
if (!allowed) {
107107
return new Response(JSON.stringify({ error: "Too many requests. Try again later." }), {
108108
status: 429,

0 commit comments

Comments
 (0)