mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
4e4a445922
Address multiple audit findings: 1. config_merge.rs:701 - Gemini merge now initializes env from common config when custom config has no env field, ensuring common API keys and base URLs are applied correctly. 2. Remove duplicate logging - merge functions now only return warnings, callers (live.rs, proxy.rs) handle logging in one place. 3. live.rs:169 - Unify error message style to plain English descriptions instead of error codes embedded in messages. Changes: - Add fallback to initialize env from common_env when missing - Remove log::warn! calls from merge functions - Use descriptive error messages consistently
4e4a445922
ยท
2026-01-26 17:13:38 +08:00
History