mirror of
https://github.com/githubhjs/CLIProxyAPIPlus.git
synced 2026-07-14 02:25:26 +00:00
Add SOCKS5 and HTTP/HTTPS proxy support
- Updated `GetAuthenticatedClient` to handle proxy configuration via `proxy-url`. - Extended `Config` to include `proxy-url` property. - Adjusted error handling and removed unused JSON error response logic for API handlers. - Updated documentation and configuration examples to reflect new proxy settings.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
port: 8317
|
||||
auth_dir: "~/.cli-proxy-api"
|
||||
debug: false
|
||||
proxy-url: ""
|
||||
api_keys:
|
||||
- "12345"
|
||||
- "23456"
|
||||
Reference in New Issue
Block a user