Files
qwen-code/packages/core
pomelo-nwu beb5b7ff57 feat: add URL trailing slash compatibility for system prompt mappings
- Add normalizeUrl() function to standardize URLs by removing trailing slashes
- Add urlMatches() function to compare URLs ignoring trailing slash differences
- Replace direct includes() comparison with urlMatches() for baseUrl matching
- Add comprehensive tests to verify URL matching with/without trailing slashes
- Fixes issue where URLs like 'https://api.example.com' and 'https://api.example.com/' were treated as different
2025-07-28 14:18:10 +08:00
..
2025-07-22 23:26:01 +08:00
2025-07-23 01:18:31 -07:00
2025-07-23 01:18:31 -07:00
2025-07-22 23:26:01 +08:00
2025-07-22 23:26:01 +08:00
2025-07-22 23:26:01 +08:00