Files
RSSHub/wrangler.toml
T
dependabot[bot]andTonyRL d2cad8a9c3 chore(deps-dev): bump the cloudflare group across 1 directory with 2 updates (#23223)
* chore(deps-dev): bump the cloudflare group across 1 directory with 2 updates

Bumps the cloudflare group with 2 updates in the / directory: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler).


Updates `@cloudflare/workers-types` from 5.20260901.1 to 5.20260904.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `wrangler` from 4.127.1 to 4.129.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.129.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 5.20260904.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cloudflare
- dependency-name: wrangler
  dependency-version: 4.129.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cloudflare
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: replace cloudflare/vitest-pool-workers with cloudflare/vitest-plugin

https://developers.cloudflare.com/changelog/post/2026-08-19-vitest-plugin/

* build: sync compatibility_flags

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2026-09-08 01:00:10 +08:00

49 lines
1.4 KiB
TOML

name = "rsshub"
main = "dist-worker/worker.mjs"
compatibility_date = "2026-09-01"
compatibility_flags = ["global_fetch_strictly_public"]
find_additional_modules = true
base_dir = "dist-worker/modules"
rules = [{ type = "Data", globs = ["data_files/**"], fallthrough = true }]
# 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 Run API for Playwright support
# Requires Workers Paid plan
[browser]
binding = "BROWSER"
# KV namespace for caching (auto-provisioned on first deploy)
[[kv_namespaces]]
binding = "CACHE"
# PLAYWRIGHT_WS_ENDPOINT takes priority over BROWSER; use a matching Playwright version.
# Optional service binding when the WebSocket server is another Worker on this account.
# [[services]]
# binding = "PLAYWRIGHT_SERVICE"
# service = "your-playwright-service"
[vars]
# Only use the service binding for this endpoint origin.
# PLAYWRIGHT_SERVICE_ORIGIN = "https://your-playwright-service.example.com"
# 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.