fix: reorder API endpoint testing sequence in scripts and documentation
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user