mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 14:59:27 +08:00
* refactor(ProxyManager): enhance bypass rule matching and logging - Updated the `isByPass` function to improve hostname and port matching against bypass rules. - Refactored the dispatcher logic to utilize the updated `isByPass` function for better clarity. - Enhanced logging to include bypass rules in system proxy change notifications. - Simplified URL handling in the dispatcher to ensure consistent behavior. * delete file * refactor(ProxyManager): improve bypass rule handling and error logging - Enhanced the `isByPass` function to check for bypass rules more efficiently, including improved error handling and logging for rule parsing failures. - Added error logging for exceptions during URL processing. - Cleaned up the logic to ensure consistent return values and better readability. - Removed unnecessary environment variable deletions in the proxy manager cleanup process. * feat(ProxyManager): add no_proxy environment variable support - Introduced the `no_proxy` environment variable to allow bypassing specific hosts in proxy settings. - The `no_proxy` value is constructed from the existing bypass rules, enhancing flexibility in proxy management. |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||