From 0d04ac5b5d4bfe85741ef41e54145b3cbd72f715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=8E=8B?= Date: Sat, 20 Jun 2026 03:25:36 +0800 Subject: [PATCH] Add wrangler.toml --- wrangler.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 wrangler.toml diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..b8a2d26 --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,14 @@ +name = "unlimited-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 +# +# Clients can also send their own key as Authorization: Bearer +# or x-api-key: ; the Worker forwards it upstream when no secret is set. + +[vars] +UPSTREAM_BASE_URL = "https://unlimited.surf" +DEFAULT_MODEL = "gateway-gpt-5" +DEFAULT_CLAUDE_MODEL = "claude-opus-4-7-20260101"