cherry-studio/src/main
beyondkmp bb9b73557b
fix: use ipinfo lite API with token for IP country detection (#12312)
* fix: use ipinfo lite API with token for IP country detection

Switch from ipinfo.io/json to api.ipinfo.io/lite/me endpoint with
authentication token to improve reliability and avoid rate limiting.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: use country_code field from ipinfo lite API response

The lite API returns country_code instead of country field.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 17:33:19 +08:00
..
apiServer fix(apiServer): use 127.0.0.1 instead of localhost for better compatibility (#11673) 2025-12-04 10:57:42 +08:00
configs fix[SelectionAssistant]: shift+click behavior in macOS and clipboard behavior in Windows (#8390) 2025-07-23 17:24:26 +08:00
integration feat: enable cherryin provider 2025-09-23 20:19:05 +08:00
knowledge fix: ollama url (#11611) 2025-12-03 21:03:07 +08:00
mcpServers feat(browser): add user data persistence and multi-tab support (#12082) 2026-01-04 13:28:48 +08:00
services fix: prevent OOM when handling large base64 image data (#12244) 2026-01-06 00:34:14 +08:00
utils fix: use ipinfo lite API with token for IP country detection (#12312) 2026-01-06 17:33:19 +08:00
bootstrap.ts refactor: move initAppDataDir function to a new utils module (#8337) 2025-07-21 15:46:14 +08:00
config.ts feat: enable cherryin provider 2025-09-23 20:19:05 +08:00
constant.ts feat: support portable config dir (#5039) 2025-04-24 17:23:56 +08:00
electron.d.ts feat: add the ability to display the application in tray #297 2024-11-09 08:42:09 +08:00
env.d.ts feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
index.ts fix(ovms): add platform check to prevent errors on non-Windows systems (#12125) 2025-12-31 22:24:53 +08:00
ipc.ts fix: prevent zoom reset during in-page navigation (#12257) 2026-01-03 22:07:53 +08:00