feat(presets): point SubRouter apiKeyUrl to aff referral link

Swap the SubRouter apiKeyUrl across all 7 client presets from the
neutral console/token page to the affiliate registration link
(?aff=l3ri), matching the project's referral-link convention.
Sync the preset test constant accordingly.
This commit is contained in:
Jason
2026-06-26 23:49:08 +08:00
parent e6d40d0a93
commit de386b297f
8 changed files with 8 additions and 8 deletions
@@ -9,7 +9,7 @@ import { opencodeProviderPresets } from "@/config/opencodeProviderPresets";
import { hasIcon } from "@/icons/extracted";
const WEBSITE_URL = "https://subrouter.ai";
const API_KEY_URL = "https://subrouter.ai/console/token";
const API_KEY_URL = "https://subrouter.ai/register?aff=l3ri";
describe("SubRouter provider presets", () => {
it("uses the Anthropic-compatible root endpoint for Claude", () => {