Files
transfer-api/wrangler.toml
T

21 lines
801 B
TOML

name = "transfer-api"
main = "src/worker.js"
compatibility_date = "2025-11-21"
# Store the upstream key as a secret instead of committing it here:
# wrangler secret put UNLIMITED_SURF_API_KEY
#
# Optional: protect this Worker with your own client-facing key:
# wrangler secret put WORKER_API_KEY
# When WORKER_API_KEY is set, clients must send it as Authorization: Bearer <key>,
# x-api-key: <key>, or anthropic-api-key: <key>. If it is not set, the Worker
# keeps the old behavior and accepts any client key.
#
# Clients can also send their own key as Authorization: Bearer <key>
# or x-api-key: <key>; the Worker forwards it upstream when no secret is set.
[vars]
UPSTREAM_BASE_URL = "https://unlimited.surf"
DEFAULT_MODEL = "gateway-gpt-5-5"
DEFAULT_CLAUDE_MODEL = "claude-opus-4-7-20260101"