mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
feat: add daily request limit and refactor access control (#759)
- Add daily request limit per IP in blacklist settings (1-1,000,000/day) - Refactor access control logic: merge blacklist and rate limit checks - Remove RATE_LIMIT_API_DAILY_REQUESTS env var, use database config instead - Move x-custom-auth check earlier in middleware chain - Add comprehensive English documentation (31 new guide pages) - Improve code structure and error handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Initialize/Update D1 Database
|
||||
|
||||
## Create Database
|
||||
|
||||
Open the Cloudflare console, select `Workers & Pages` -> `D1` -> `Create Database`, and click to create the database
|
||||
|
||||

|
||||
|
||||
After creation, you can see the D1 database in the Cloudflare console and obtain the database `name` and `database ID`
|
||||
|
||||
## Initialize Database
|
||||
|
||||
After deployment is complete, go to the admin page's `Quick Setup` -> `Database` section and click the `Initialize Database` button to initialize the database
|
||||
|
||||
## Update Database Schema
|
||||
|
||||
Refer to [Update D1 via Command Line](/en/guide/cli/d1) or [Update D1 via UI](/en/guide/ui/d1)
|
||||
Reference in New Issue
Block a user