fix: reorder API endpoint testing sequence in scripts and documentation
This commit is contained in:
@@ -14,7 +14,7 @@ BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
# Configuration
|
||||
DEFAULT_BASE_URL="https://api.xcodecli.com"
|
||||
DEFAULT_BASE_URL="https://api2.xcodecli.com"
|
||||
CLAUDE_CONFIG_DIR="$HOME/.claude"
|
||||
CLAUDE_SETTINGS_FILE="$CLAUDE_CONFIG_DIR/settings.json"
|
||||
|
||||
@@ -79,8 +79,8 @@ test_api_connection() {
|
||||
local api_key="$1"
|
||||
|
||||
local test_urls=(
|
||||
"https://api.xcodecli.com"
|
||||
"https://api2.xcodecli.com"
|
||||
"https://api.xcodecli.com"
|
||||
)
|
||||
|
||||
print_info "Testing API connections..." >&2
|
||||
@@ -206,8 +206,8 @@ main() {
|
||||
Usage: $0 [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:
|
||||
-k, --key KEY Set the API key
|
||||
|
||||
Reference in New Issue
Block a user