forked from DIYgod/RSSHub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
36 lines (28 loc) · 867 Bytes
/
wrangler.toml
File metadata and controls
36 lines (28 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name = "rsshub"
main = "dist-worker/worker.mjs"
compatibility_date = "2025-06-17"
compatibility_flags = ["nodejs_compat"]
# Serve static assets from lib/assets
assets = { directory = "lib/assets" }
[build]
command = "pnpm run worker-build"
# Workers Paid plan is recommended for better performance
# Free plan has 10ms CPU time limit per request
# Paid plan has 30s CPU time limit per request
[observability]
enabled = true
# Browser Rendering API for puppeteer support
# Requires Workers Paid plan
[browser]
binding = "BROWSER"
# KV namespace for caching (auto-provisioned on first deploy)
[[kv_namespaces]]
binding = "CACHE"
[vars]
# Environment variables can be set here or via wrangler secret
# DEBUG_INFO = "false"
# For production, use wrangler secret put <KEY> to set sensitive values
# Example secrets:
# - ACCESS_KEY
# - GITHUB_ACCESS_TOKEN
# - etc.