mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
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:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user