mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
99bb931014
- code, tests, docs, README, wrangler.toml, help text - data dir ~/.pixelpipe -> ~/.pxpipe (PXPIPE_LOG env var) - rebuilt dist; 323/323 tests
22 lines
576 B
TOML
22 lines
576 B
TOML
name = "pxpipe"
|
|
main = "src/worker.ts"
|
|
compatibility_date = "2024-09-23"
|
|
compatibility_flags = ["nodejs_compat_v2"]
|
|
|
|
# Anthropic upstream is fetched via global fetch — no special bindings needed.
|
|
# Set secrets via: wrangler secret put ANTHROPIC_API_KEY (optional passthrough)
|
|
|
|
[vars]
|
|
ANTHROPIC_UPSTREAM = "https://api.anthropic.com"
|
|
COMPRESS = "1"
|
|
MIN_COMPRESS_CHARS = "2000"
|
|
FONT_PX = "15"
|
|
|
|
# Uncomment to ship to a workers.dev subdomain
|
|
# workers_dev = true
|
|
|
|
# Or attach a custom route:
|
|
# routes = [
|
|
# { pattern = "pxpipe.example.com/*", zone_name = "example.com" }
|
|
# ]
|