Skip to content

Commit 9f58db3

Browse files
committed
fix: renamed _API to _TOKEN
1 parent 21ac536 commit 9f58db3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# --- Cloudflare API Credentials (Do not use quotes) ---
2-
CLOUDFLARE_API_KEY=
2+
CLOUDFLARE_API_TOKEN=
33
CLOUDFLARE_ZONE_ID=
44

55
# --- Email Configuration (Do not use quotes) ---

app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
limiter = Limiter(
2727
get_remote_address,
2828
app=app,
29-
default_limits=[os.getenv("RATE_LIMIT_DEFAULT", "60 per minute")], # Apply default limit
30-
storage_uri="memory://", # Simple in-memory storage, consider Redis for multi-process/scaled setups
31-
strategy="fixed-window" # or "moving-window"
29+
default_limits=[os.getenv("RATE_LIMIT_DEFAULT", "60 per minute")],
30+
storage_uri="memory://",
31+
strategy="fixed-window"
3232
)
3333

3434
DATABASE_PATH = '/app/data/emails.db'

0 commit comments

Comments
 (0)