mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-03-02 04:24:11 +08:00
ef68a97526
- Centralized `getClient` logic into a dedicated function to reduce redundancy. - Moved proxy initialization to a new utility function `SetProxy` in `internal/util/proxy.go`. - Replaced `Internal` handler with `CLIHandler` in `server.go` for improved clarity and consistency. - Removed unused functions and redundant HTTP client setup across the codebase for better maintainability.
ef68a97526
ยท
2025-07-10 17:45:28 +08:00
History