-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathweb_config.example.json
More file actions
28 lines (28 loc) · 963 Bytes
/
web_config.example.json
File metadata and controls
28 lines (28 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"listen_host": "127.0.0.1",
"listen_port": 28717,
"allowed_hosts": ["example.com", "127.0.0.1", "localhost"],
"cleaner_path": "/root/CLIProxyAPI-cleaner.py",
"state_file": "/root/CLIProxyAPI-cleaner-state.json",
"base_url": "https://example.com/management.html",
"management_key": "replace-me",
"interval": 60,
"enable_api_call_check": true,
"api_call_url": "https://chatgpt.com/backend-api/wham/usage",
"api_call_method": "GET",
"api_call_account_id": "",
"api_call_user_agent": "Mozilla/5.0 CLIProxyAPI-cleaner/1.0",
"api_call_body": "",
"api_call_providers": "codex,openai,chatgpt",
"api_call_max_per_run": 50,
"api_call_sleep_min": 5.0,
"api_call_sleep_max": 10.0,
"revival_wait_days": 7,
"revival_probe_interval_hours": 12,
"retention_keep_reports": 200,
"retention_report_max_age_days": 7,
"retention_backup_max_age_days": 14,
"retention_log_max_size_mb": 50,
"password_salt": "",
"password_hash": ""
}