diff --git a/config.json b/config.json index cd4a3bb..fe5fd8a 100644 --- a/config.json +++ b/config.json @@ -33,8 +33,8 @@ "cpa_auth_dir": "./cpa_auths", "cpa_base_url": "https://cli-chat-proxy.grok.com/v1", "cpa_push_enabled": true, - "cpa_remote_base": "https://cpaai.qxy1828.com", - "cpa_remote_secret": "sk-fuLgIiBOn6A7rYrMm", + "cpa_remote_base": "https://cpa.nopj.cn", + "cpa_remote_secret": "DNznuRVoBhDT2SpSAyWw", "cpa_remote_verify_tls": true, "cpa_push_proxy": "", "cpa_push_required": false, diff --git a/grok_register_ttk.py b/grok_register_ttk.py index 8e6e677..2a8c264 100644 --- a/grok_register_ttk.py +++ b/grok_register_ttk.py @@ -76,9 +76,9 @@ DEFAULT_CONFIG = { "cpa_auth_dir": "./cpa_auths", # 本地写盘目录(xai-.json) "cpa_base_url": "https://cli-chat-proxy.grok.com/v1", # 写进 auth 的 base_url;付费用 https://api.x.ai/v1 # 远端推送到 CLIProxyAPI(POST /v0/management/auth-files) - "cpa_push_enabled": False, # 是否推送到远端 CLIProxyAPI - "cpa_remote_base": "", # 远端 CLIProxyAPI 地址,如 http://127.0.0.1:8317 - "cpa_remote_secret": "", # 远端管理密钥(CLIProxyAPI remote-management.secret-key) + "cpa_push_enabled": True, # 是否推送到远端 CLIProxyAPI + "cpa_remote_base": "https://cpa.nopj.cn", # 远端 CLIProxyAPI 地址 + "cpa_remote_secret": "DNznuRVoBhDT2SpSAyWw", # 远端管理密钥(CLIProxyAPI remote-management.secret-key) "cpa_remote_verify_tls": True, # https 远端是否校验证书 "cpa_push_proxy": "", # 推送用代理;空=直连(不走 mint 代理) "cpa_push_required": False, # True=推送失败则整次注册算失败