mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #751] [MERGED] feat: add RATE_LIMIT_API_DAILY_REQUESTS #740
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#740
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/751
Author: @dreamhunter2333
Created: 11/2/2025
Status: ✅ Merged
Merged: 11/2/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (1)
9945d16feat: add RATE_LIMIT_API_DAILY_REQUESTS📊 Changes
2 files changed (+16 additions, -0 deletions)
View changed files
📝
worker/src/types.d.ts(+3 -0)📝
worker/src/worker.ts(+13 -0)📄 Description
PR Type
Enhancement, Bug fix
Description
Added a new configuration variable
RATE_LIMIT_API_DAILY_REQUESTS.Implemented daily API request rate limiting based on IP.
Enhanced error handling for daily rate limit logic.
Updated type definitions to include the new configuration variable.
Changes walkthrough 📝
types.d.ts
Add `RATE_LIMIT_API_DAILY_REQUESTS` to type definitionsworker/src/types.d.ts
RATE_LIMIT_API_DAILY_REQUESTSto theBindingstype.worker.ts
Implement daily API request rate limiting logicworker/src/worker.ts
RATE_LIMIT_API_DAILY_REQUESTSconfiguration in the ratelimiter.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.