mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
chore(presets): add RunAPI referral link runapi.co/register
Point the RunAPI invite link at https://runapi.co/register?aff=iOKB across all 7 app presets (apiKeyUrl) and the four README sponsor rows (banner + CTA), which previously used the bare runapi.co homepage with no referral tag. The websiteUrl and runapi.co API endpoints stay bare, so the aff code never enters a request URL.
This commit is contained in:
@@ -861,7 +861,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
category: "aggregator",
|
||||
baseUrl: "https://runapi.co",
|
||||
mode: "direct",
|
||||
|
||||
@@ -933,7 +933,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://runapi.co",
|
||||
|
||||
@@ -1319,7 +1319,7 @@ requires_openai_auth = true`,
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
|
||||
@@ -365,7 +365,7 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
auth: grokAuth(),
|
||||
config: grokPresetConfig("RunAPI", "https://runapi.co/v1"),
|
||||
category: "aggregator",
|
||||
|
||||
@@ -1167,7 +1167,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
settingsConfig: {
|
||||
name: "runapi",
|
||||
base_url: "https://runapi.co",
|
||||
|
||||
@@ -1410,7 +1410,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://runapi.co",
|
||||
apiKey: "",
|
||||
|
||||
@@ -1834,7 +1834,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
{
|
||||
name: "RunAPI",
|
||||
websiteUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co",
|
||||
apiKeyUrl: "https://runapi.co/register?aff=iOKB",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "RunAPI",
|
||||
|
||||
Reference in New Issue
Block a user