Private
Public Access
1
0

fix: reorder API endpoint testing sequence in scripts and documentation

This commit is contained in:
2025-12-04 13:30:21 +08:00
parent dbea04aa17
commit ca8c5d5ff5
4 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ param(
if (-not $ApiKey -and (Test-Path Variable:key)) { $ApiKey = $key }
# Configuration
$DefaultBaseUrl = "https://api.xcodecli.com"
$DefaultBaseUrl = "https://api2.xcodecli.com"
$ClaudeConfigDir = "$env:USERPROFILE\.claude"
$ClaudeSettingsFile = "$ClaudeConfigDir\settings.json"
@@ -51,8 +51,8 @@ Claude Code Configuration Script for XCodeCLI (Windows)
Usage: powershell -ExecutionPolicy Bypass -File setup-claude-code.ps1 [OPTIONS]
This script automatically tests multiple API endpoints and selects the working one:
- https://api.xcodecli.com
- https://api2.xcodecli.com
- https://api.xcodecli.com
Options:
-ApiKey <KEY> Set the API key
@@ -112,8 +112,8 @@ function Test-ApiConnection {
)
$testUrls = @(
"https://api.xcodecli.com",
"https://api2.xcodecli.com"
"https://api2.xcodecli.com",
"https://api.xcodecli.com"
)
Write-Info "Testing API connections..."